margherita pizza
margherita pizza

Reputation: 7165

Heroku how to commit to the heroku repo

If I run this command

git remote -v

heroku  https://git.heroku.com/something.git (fetch)
heroku  https://git.heroku.com/something.git (push)
origin  https://[email protected]/jone/something.git (fetch)
origin  https://[email protected]/jone/something.git (push)

If I push something it goes to the bitbucket's repo. How do I push to the heroku repo?

Upvotes: 1

Views: 407

Answers (1)

Antonio Carrion
Antonio Carrion

Reputation: 21

From Heroku Cli add your local heroku

heroku git:remote something

The branch you want to push is called 'heroku' so this should now work:

git push heroku master

Upvotes: 2

Related Questions