Skip to content

Commit

Permalink
Added hints on how to change a default heroku git origin URL.
Browse files Browse the repository at this point in the history
  • Loading branch information
youngbrioche committed Jan 16, 2012
1 parent 093f54c commit 5bbc8c0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Expand Up @@ -58,3 +58,9 @@ Set a machine-wide default account:
To clone a git repository from Heroku, change 'heroku.com' to the Host of the desired account defined in your .ssh/config:

$ git clone git@heroku.work:repository.git

To change an existing git origin URL to your new ssh alias:

$ git remote set-url heroku git@heroku.work:heroku-app-name.git

Alternatively, you can edit the origin URL in `.git/config`.

0 comments on commit 5bbc8c0

Please sign in to comment.