- Create a repository and push it to Github
- Change some files and commit it
- Create two files and edit an existent file, add all to the index and make a commit only with one of the new files
- Create another branch (cool) and change files
- (Stash here we go!)
- Go to master branch and push the modifications
- Go back to cool branch, commit and push
- Put the commits on cool branch on master branch doing a merge
- Dispose the last action and let master branch without cool branch commits
- Put the commits on cool branch on master branch doing a rebase
- Clone this repository in another computer
Created
January 13, 2012 02:58
-
-
Save julianalucena/1604350 to your computer and use it in GitHub Desktop.
Kind of dojo about Git
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://gist.github.com/1621846