Reputation: 3797
Up until now I was using github and pushing to Heroku. I had something like this and when I did git push heroku master
it pushed to Heroku from I presume origin remote.
heroku https://git.heroku.com/gentle-dawn-61312.git (fetch)
heroku https://git.heroku.com/gentle-dawn-61312.git (push)
origin [email protected]:Igor-Vuk/App.git (fetch)
origin [email protected]:Igor-Vuk/rApp.git (push)
Now I added bitbucket where I also deploy my code so now I have something like this.
bitbucket ssh://[email protected]/Igor-Vuk/App.git (fetch)
bitbucket ssh://[email protected]/Igor-Vuk/App.git (push)
heroku https://git.heroku.com/gentle-dawn-61312.git (fetch)
heroku https://git.heroku.com/gentle-dawn-61312.git (push)
origin [email protected]:Igor-Vuk/App.git (fetch)
origin [email protected]:Igor-Vuk/App.git (push)
How would I push to heroku now code that is deployed to bitbucket?
Upvotes: 0
Views: 65
Reputation: 5640
It's the same command. If you run git push heroku master
on your system, then the push originates on your system and goes directly to Heroku without involving either Bitbucket or GitHub.
Upvotes: 1