lbx0kg
Last Updated: February 25, 2016
·
1.48K
· tommica
A997055a6f81a30ab0de790f2d6212d5

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

Say Thanks
Respond

1 Response
Add your response

11528

Saved my day, thanks

over 1 year ago ·