Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Update Heroku stack and change repository URL

View heroku_change_stack.sh
1 2 3 4 5 6 7 8 9 10 11 12
# 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
Something went wrong with that request. Please try again.