Skip to content

Instantly share code, notes, and snippets.

@hayatbiralem
Created November 10, 2015 11:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hayatbiralem/67cb5f262dfd0065aa5e to your computer and use it in GitHub Desktop.
Save hayatbiralem/67cb5f262dfd0065aa5e to your computer and use it in GitHub Desktop.
git config --global alias.sync-gh-pages '!git push && git checkout gh-pages && git merge master && git push && git checkout master'
@hayatbiralem
Copy link
Author

Usage:

git sync-gh-pages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment