precise A node in that tree is the state of our files at a point in time Most operations deal with how to navigate and manipulate that tree The git history
precise A node in that tree is the state of our files at a point in time Most operations deal with how to navigate and manipulate that tree The git history
checkout <branch> moves HEAD to branch git merge <branch> –m “<msg>” merges branch into current branch git branch –d <branch> deletes given branch Reintegrating a branch
version git diff --staged shows a diff of the staged files git reset --hard <SHA> move current branch back to SHA --hard discard all changes --soft keep changes We have to go back!
moves HEAD to branch git pull fetches and merges tracked branch into current branch git rebase <base> <branch> replay branch’s commits on top of base Receiving changes
to git started Just the tip of the iceberg Git is a skill, a tool in your tool belt Expertise makes your life easier Low cost, high reward Try it! Git going!