Git Commands
π git init β Initialize a new Git repository
π₯ git clone <repo> β Clone a repository
π git status β Check the status of your repository
β git add <file> β Add a file to the staging area
π git commit -m "message" β Commit changes with a message
π git push β Push changes to a remote repository
β¬οΈ git pull β Fetch and merge changes from a remote repository
Branching
π git branch β List all branches
π± git branch <name> β Create a new branch
π git checkout <branch> β Switch to a branch
π git merge <branch> β Merge a branch into the current branch
β‘οΈ git rebase <branch> β Apply commits on top of another branch
Undo & Fix Mistakes
βͺ git reset --soft HEAD~1 β Undo the last commit but keep changes
β git reset --hard HEAD~1 β Undo the last commit and discard changes
π git revert <commit> β Create a new commit that undoes a specific commit
Logs & History
π git log β Show commit history
π git log --oneline --graph --all β View commit history in a simple graph
Stashing
π₯ git stash β Save changes without committing
π git stash pop β Apply stashed changes and remove them from stash
Remote & Collaboration
π git remote -v β View remote repositories
π‘ git fetch β Fetch changes without merging
π΅οΈ git diff β Compare changes
Donβt forget to react β€οΈ if youβd like to see more content like this!
π git init β Initialize a new Git repository
π₯ git clone <repo> β Clone a repository
π git status β Check the status of your repository
β git add <file> β Add a file to the staging area
π git commit -m "message" β Commit changes with a message
π git push β Push changes to a remote repository
β¬οΈ git pull β Fetch and merge changes from a remote repository
Branching
π git branch β List all branches
π± git branch <name> β Create a new branch
π git checkout <branch> β Switch to a branch
π git merge <branch> β Merge a branch into the current branch
β‘οΈ git rebase <branch> β Apply commits on top of another branch
Undo & Fix Mistakes
βͺ git reset --soft HEAD~1 β Undo the last commit but keep changes
β git reset --hard HEAD~1 β Undo the last commit and discard changes
π git revert <commit> β Create a new commit that undoes a specific commit
Logs & History
π git log β Show commit history
π git log --oneline --graph --all β View commit history in a simple graph
Stashing
π₯ git stash β Save changes without committing
π git stash pop β Apply stashed changes and remove them from stash
Remote & Collaboration
π git remote -v β View remote repositories
π‘ git fetch β Fetch changes without merging
π΅οΈ git diff β Compare changes
Donβt forget to react β€οΈ if youβd like to see more content like this!
β€32π11
Stanfordβs Machine Learning - by Andrew Ng
A complete lecture notes of 227 pages. Available Free.
A complete lecture notes of 227 pages. Available Free.
β€4π1
DSA in Python Handwritten Notes.pdf
22.4 MB
Handwritten DSA Notes in Python ππ
Perfect for quick revision and solid understanding!
π React if you find it helpful β more coming soon!
Perfect for quick revision and solid understanding!
π React if you find it helpful β more coming soon!
β€17π2π₯°2π₯1π1
70 Interview Q&A.pdf
1.1 MB
70 Toughest Interview Questions And answers
React β€οΈ If You Find This Helpful
React β€οΈ If You Find This Helpful
β€8π3π₯1
HTML Tags List.pdf
115.1 KB
π° HTML Tags List π
Do not forget to React β€οΈ to this Message for More Content Like this
Thanks For Joining All β€οΈπ
Do not forget to React β€οΈ to this Message for More Content Like this
Thanks For Joining All β€οΈπ
β€24π1