Tuesday, February 24, 2015

Change remote repo in git

git remote –v                             # this will show you they old url
git remote remove origin
git remote add origin ssh://git@test.github.com/test/test.git
git push --set-upstream origin master

No comments: