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.
<span>git</span> fetch origin
<span>git</span> remote add new-origin git@github.com:local/repo.git
<span>git</span> push --all new-origin
<span>git</span> push --tags new-origin
<span>git</span> remote <span>rm</span> origin
<span>git</span> remote <span>rename</span> new-origin origin
It looks like you're new here. Sign in or register to get started.