Created
July 3, 2014 02:15
-
-
Save ohararyan/e3d828508ea683f4dac3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git status | |
<!-- check the status of what is happening right now --> | |
git add <files> | |
<!-- add your files to be commited --> | |
<!-- check it again (see what's happening) --> | |
git commit -m "what did you commit and why?" | |
<!-- commit your files with a meaningful message --> | |
git pull | |
<!-- pull down any changes from the remote repository and merge | |
these on top of our commit so we don't have any conflicts when we push our changes up --> | |
git push | |
<!-- push your changes to the remote repository --> | |
git checkout gh-pages | |
<!-- switch to the gh-pages branch --> | |
git merge master | |
<!-- merge in the changes on master --> | |
git push | |
<!-- publish the changes to gh-pages --> | |
git checkout master | |
<!-- all done start making changes on master again --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment