tracking git remote branches
I want to have dev and staging applications on apphb which I can track as seperate remote branches. Is this possible using appharbour? If I have my local master branch with a remote of appharbour/master I should be able to do something like git branch -b staging --track appharbour/staging
Any ideas? Thanks Nic
Discussions are closed to public comments.
If you need help with AppHarbor please
start a new discussion.
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac
Support Staff 1 Posted by rune on 21 Apr, 2011 12:36 AM
Hi Nic,
You can do that - then whenever you want to deploy the staging app you would just write git push appharbor master. That'll cause the staging branch to be updated and deployed. You might want to separate it into two applications though.
Please let me know if this wasn't what you meant.
Best,
Rune
rune closed this discussion on 21 Apr, 2011 12:36 AM.