Github - Automagically keep master and gh-pages in sync
Add these two line to the ".git/config" [remote “origin”] section:
push = +refs/heads/master:refs/heads/gh-pages
push = +refs/heads/master:refs/heads/master
Source: http://stackoverflow.com/questions/5807459/github-mirroring-gh-pages-to-master#answer-7472481
Written by Tommi Carleman
Related protips
1 Response
Saved my day, thanks
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#