Once I was able to wrap my head around the fact that Git commands are simply manipulating nodes on a graph, it all made sense.
Resetting is simply moving a pointer around and merging is just connecting branches of a tree.
Rebasing, cherry picking and squashing were no longer abstract complicated operations.
By looking at Git in this way, you too will go from a n00b to a Git ninja soon enough.
Resources
- Master Git Basics by Tom Preston-Werner (co-founder of Github)
- Git Immersion
- Think Like a Git
Advertisements