Associating a heroku app with a private (organization) github repo

Working with local, pushing changes to Heroku, and the application works as expected. However, I was having problems linking the heroku application to a private repo on Github.

The current configuration looks something like this:

git@github.com:{Organization}/{project}.git

Where can I set up a username / password for a private repo?

I tried (although this is not the best way)

username:password@github.com/{organization}/{project}.git

would be grateful for any pointers to this.

EDIT: I did not mention that I configure it in the application settings in Heroku.

+4
source share
2 answers
 git@github.com:{Organization}/{project}.git

ssh, , puiblic/private: , .
" " "".

username:password@github.com/{organization}/{project}.git

, https.

0

All Articles