Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Link Heroku app to Github repo. For what?

Tags:

github

heroku

Recently I saw this field in my heroku application settings.

Link your app to a GitHub repository to see commit diffs in the activity log.

I tried to add 'myusername/myrepo' in this field, but it didn't change anything in activity log. How can I use this setting? And for what?

like image 507
Airat Shigapov Avatar asked Oct 03 '12 12:10

Airat Shigapov


People also ask

Is Git necessary for Heroku?

Also, just because Heroku uses Git doesn't mean you have to have a Github account (since you mention having to have a premium account). All Github provides is an additional place to store your code if you are working on it in a team. There is absolutely NO REASON that you have to use github to use Heroku.

How do I add a Heroku link to GitHub?

To connect a Heroku app with a GitHub repo, go to the app's “Deploy” tab on Heroku Dashboard and select the GitHub pane. If you haven't connected your Heroku and GitHub accounts, you will be prompted to complete the GitHub OAuth flow.

Are Heroku Git repos private?

Heroku Button is no longer limited to source code hosted in public GitHub repos. It now works with both public and private GitHub repos.


1 Answers

It's subtle, but your activity log has changed. When you add a repository in Heroku settings, the commit hashes in your activity log turn into links to GitHub, like so:

enter image description here

like image 77
andypaxo Avatar answered Sep 21 '22 17:09

andypaxo