Friday, 8 January 2021

Moving a repository from Bitbucket to Github

 In this example, the Panoramic Data "Toggl.Api" was moved from Bitbucket to Github:

cd f:\projects\Toggl.Api
git pull
git remote add upstream git@github.com:panoramicdata/Toggl.Api.git
git push upstream develop
git push --tags upstream

then...

  1. Double check that the Github repository has all content
  2. Go to the web interface of the old Bitbucket repository
  3. Select menu option Setting > Delete repository
  4. Add the URL of the new Github repository as redirect URL
Finally, to clean up:

git remote remove origin
git remote rename upstream origin


1 comment:

  1. Men looking for Russian Escorts in Agra usually have a variety of needs that need to be fulfilled. Some want to hire escorts just as a companion, some want them to be their dinner dates or dance floor partners while others may want them to play the role of the sexy girlfriends. Check our other services also..
    Russian Escorts in Agra
    Russian Escorts in Agra
    Russian Escorts in Agra
    Russian Escorts in Agra
    Russian Escorts in Agra
    Russian Escorts in Agra
    Russian Escorts in Agra
    Russian Escorts in Agra

    ReplyDelete