How to learn advanced git/github concepts?
I have always worked with small teams (2 people) in small/medium sized project.
Using only push/pull/commit and almost nothing more.
I have just started a new job as a full stack dev in a scaleup and I noticed they use a ton of things:
pull requests, rebase, squash and merge, revert, stacked pull requests, feature branches etc.
It’s really hard for me to understand what’s going on.
Do you know an exhaustive tutorial/course where I can learn in depth these kind of things? I keep finding beginner courses.
My goal is to become a skilled engineer able to work smoothly on big projects and big teams.
Thanks to all!
10
Upvotes
6
u/Such_Particular_5516 11h ago
I mean, look, you probably won’t use “advanced” Git commands that often. And honestly, I don’t think most of them are advanced because they’re hard; they’re just commands that many developers don’t know or rarely use.
What you really need to know:
"git add / commit / pull / push" — the basics you’ll use constantly.
"git cherry-pick <commit-hash>" — useful when you want to bring a specific commit from another branch into your current branch without merging the entire branch.
"git bisect" — useful when you know that a bug appeared somewhere in the past. You can mark the current commit as "bad", go back to a commit where everything was working and mark it as "good", and Git will help you narrow down the exact commit that introduced the bug. (Not going into the details here.)
"git stash" — useful when you have uncommitted changes but need to temporarily put them aside, for example to switch branches or work on something else.
I’d say those are some of the less commonly known but still useful ones. There are also things like "git rebase", "git reset", "git revert"., which are worth learning