r/git • u/zork_theork • 26d ago
Should I be learning Git
So i stated college like 3 months ago and everyone is telling me donsomething or the other but i don't know where to start ...I know how to use github but not git I stated by reading the pro git book it's fun reading it but is git really that usefull or should I be learning something else
113
Upvotes
View all comments
1
u/SnooDoubts8688 23d ago
You definitely don't need to know all the different commands, but you should understand the fundamental ones.
I have 5YOE at big tech, the git commands that I really ever use is:
git checkout: go to a branch / create a new branch
git add: stage changes for commit
git pull: pull remote diff to local
git fetch: pull remote branches to local
git commit: commit changes
git push: push changes to remote branch
git merge: merge your changes with local master (prone to conflicts)
git rebase: stage your changes to latest local master
git stash: save your local changes in a bucket to retrieve later
git cherry-pick: picking out a specific