24 February 2015 by Lars Vilhuber
Need to remember this (easy sync of gh-pages on github)
add the following to the [remote "origin"]
section of .git/config
:
push = +refs/heads/master:refs/heads/gh-pages
push = +refs/heads/master:refs/heads/master
and whenever you push to origin
, it pushes the code on your local master
branch to both remote branches.
Leave a Reply
You must be logged in to post a comment.