Skip to content

Instantly share code, notes, and snippets.

@twoneks
Created April 20, 2015 15:43
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save twoneks/5a991ae360af9d0be57d to your computer and use it in GitHub Desktop.
Save twoneks/5a991ae360af9d0be57d to your computer and use it in GitHub Desktop.
add remote heroku
# remote list
git remote -v
# add heroku app remote
heroku git:remote --app brenda-kp
git remote -v
# heroku https://git.heroku.com/brenda-kp.git
# rename local remote
git remote rename heroku staging
git remote -v
# staging https://git.heroku.com/brenda-kp.git
git push staging master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment