Skip to content

Instantly share code, notes, and snippets.

@dsimard
Created October 5, 2011 18:01
Show Gist options
  • Select an option

  • Save dsimard/1265176 to your computer and use it in GitHub Desktop.

Select an option

Save dsimard/1265176 to your computer and use it in GitHub Desktop.
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/ | [email protected]:stark-moon-1526.git
# Change repository URL
git remote set-url heroku [email protected]: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