Push to Heroku from a different machine
If you change machines often, you might need to add a Heroku remote so you can push to an existing app. The Heroku toolkit has a quick way to do this.
Before
git push heroku master
fatal: 'heroku' does not appear to be a git repository
Fix
heroku git:remote -a myproject
After
Now you can push to your application
git push heroku master
Written by Owain Lewis
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Heroku
Authors
Related Tags
#heroku
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#