Update Git repository URL for deployed Capistrano app

Posted . Visible to the public.

If repository URL has changed but the app shared copy still points to an old location the simplest way to update the URL would be to run shell and update the git remote origin like this

$ cap shell
cap> cd app/shared/cached-copy && git remote set-url origin 'git@bitbucket.org:mycorp/app.git'
Ev Dolzhenko
Posted by Ev Dolzhenko to Ev's deck (2013-11-04 17:09)