That is basically what I want to do, to copy the full repo from github and put it on bitbucket. Of course I will like not to loose info in the process (like history).
Ok, here is the answer.
git fetch origin
git remote add new-origin git@github.com:local/repo.git
git push --all new-origin
git push --tags new-origin
git remote rm origin
git remote rename new-origin origin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.