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!
push -u <remote> <branch> push branch and setup tracking git push push changes of current branch git checkout –b <branch> -b create and switch to branch Going online for the first time
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!
https://hacktoberfest.digitalocean.com/ Make an Account on GitHub Fork a repo Make a branch and contribute Make 4 Pull Requests Git your T-Shirt! Social coding: