Change repository URL
You simply need to remove the origin remote that has the incorrect reference with:$ git remote rm originThen restart the add, and push, and you should be good to go.$ git remote add origin git@github.com:nikhil/example.git$ git push -u origin masterCapistrano deploy fails after the repository URL changes - How to fix?
You need to run following command before you start deploying with your new URL.cap deploy:cleanup -s keep_releases=0Apparently you will also need to remove shared/cached-copy, because this doesn't cleaned by the capistrano call above.
Thursday, January 2, 2014
Changes to be made after you Change your Repository URL
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment