Create a gist now

Instantly share code, notes, and snippets.

Update Heroku stack and change repository URL
# Create a new stack
heroku create --stack cedar
# it will reply something like this
# Creating stark-moon-1526... done, stack is cedar
# http://stark-moon-1526.herokuapp.com/ | git@heroku.com:stark-moon-1526.git
# Change repository URL
git remote set-url heroku git@heroku.com:stark-moon-1526.git
# Push your repository
git push heroku master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment