Now there is an easy way to make Branchable push changes from your site out to other git repositories, like Github, Gitorious, or your own personal server.
Note that the way we push makes the git repositories become mirrors of the one at Branchable.
So you'll only want to do this with repositories that you don't commit other things to.
Here's how to set this up for your site.
- Click on its Setup button in the control panel.
- Find the gitpush section shown above, and check the "enable" box.
- Enter in the URLs of git repositories Branchable should push to.
- Download your site's
sshkey by clicking on the link.
- Save setup.
Now comes the fun bit, setting up the git repositories to trust the
key to receive pushes.
On Github, go to the git repository Branchable will
push to, click on "Admin", then "Deploy Keys", and paste in our
ssh key in the file
~/.ssh/authorized_keys on the server.
Be sure to lock it down so it can only run