Skip to content

Instantly share code, notes, and snippets.

View studgeek's full-sized avatar

David Rees studgeek

View GitHub Profile
@studgeek
studgeek / Heroku tracking branch.txt
Created March 8, 2012 16:55 — forked from seangeo/Heroku tracking branch.txt
Create a local tracking branch of your heroku/phpfog deployment
Create remote called heroku
> git remote add heroku git@heroku.com:YOURAPPNAME.git
create a local tracking branch called heroku
> git checkout -b heroku -t heroku/master
This will checkout the last revision you deployed to Heroku.
Now tell git to push the heroku branch to heroku/master