Wasswa Samuel Wasswa Samuel - 2 months ago 10x
Git Question

Deploying to Heroku using git on bitbucket

I want to host my source on bitbucket using git because I obviously get a free private repo and I want to host my app on heroku using the source code from bitbucket.

Can i do it using the github client and heroku toolbelt. Will it work? Github is great but i dont want everyone seeing my code and I dont want to pay for a private repo because its a small project.


Deploying to heroku should work regardless of where you host your code. In fact, you can even git pull from heroku, so you could technically use heroku as a private git repository instead. As for using the GitHub client to connect to bitbucket, simply change the repository remote to the URL provided by bitbucket in the settings tab of the client.