views:

42

answers:

2

I've been successfully running an app on Heroku, but now would like to work with a collaborator on it. Is there a way with can check in (and pull) code without deploying it live? Right now a git push deploys to code the live site.

A: 

Create a new branch and use that.

git checkout -b BRANCH_NAME
git push heroku BRANCH_NAME
ponzao
A: 

You can also have a look at a service like GitHub* for actual git hosting. As git is entirely distributed, you can have multiple repositories. Use one for remote storage/project coordination and Heroku just for deployment.

  • I use GitHub for my open source stuff and a commercial Unfuddle account for projects (Unfuddle gives you unlimited git repos and issue tracking).
Toby Hede