Joined December 2013


The Daily Beasties
The Daily Beasties

This works really well for an event space site I manage. It's a simple site that deploys to two places; one prod server, and github. I have two remotes set up in git config:

[remote "origin"]
url =
fetch = +refs/heads/:refs/remotes/origin/
[remote "prod"]
url = "ssh://"
fetch = +refs/heads/:refs/remotes/prod/

So when I need to deploy to the prod server I do a "git push prod". When I deploy to github I just do a "git push". No more ftp!

1 Karma
0 Total ProTip Views
Interests & Skills