How do I view the code deployed to Heroku?

I have deployed a REST based Java application on Heroku.
Everything works fine. However, I can see the code in the heroku dashboard as other developers working with me want to collaborate as well.
Whether to clone the .git repository listed on the app settings page.
Please help how to do this?
And how do I push code to bitbucket so that my code doesn't disappear?

+3


source to share


1 answer


When you build an application on Heroku, it automatically gets a Git repo - this is a normal repo, so your coworkers can just clone it (if added as contributors) as you said.



To point your code to bitbucket, create a repo there and add it as remote to your local Git config. Then just click on the remote server and remove bitcoin as desired. For an automated solution, you can consider the Github integration: https://devcenter.heroku.com/articles/github-integration

+4


source







All Articles