Skip to content

Instantly share code, notes, and snippets.

@emranweb
Last active May 27, 2017 12:00
Show Gist options
  • Save emranweb/1c7683f7f5e87b15778214c93e52364b to your computer and use it in GitHub Desktop.
Save emranweb/1c7683f7f5e87b15778214c93e52364b to your computer and use it in GitHub Desktop.
git add .
git status // to see what changes are going to be commited
git commit -m 'Some descriptive commit message'
git push origin master
//and Next
git checkout gh-pages // go to the gh-pages branch
git rebase master // bring gh-pages up to date with master
git push origin gh-pages // commit the changes
git checkout master // return to the master branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment