Git Cheat Sheet

NOTE: Even as a database guy, you still should check in your scripts, etc..

A Good reference: https://education.github.com/git-cheat-sheet-education.pdf

Working in the Master Branch

If doing work in the master branch

Creating a branch and merging changes

           mike branch
     /---------------------->
    /                        \ 
---O--------------------------O------------>
   |                          |
 branch                     merge              

This pushes the changes from the mike branch to upstream on github