Skip to main content

Move git repos (bitbucket to GitHub)

12th October, 2022

Updated: 12th October, 2022

    Create repo in github

    cd up-to-date-repo
    git remote rename origin bitbucket
    git remote add origin git@github.com:apricot13/femgeek.git
    git push origin master

    To move branches

    git checkout -b archive-master bitbucket/archive-master
    git push origin archive-master

    Delete the old remote by issuing:

    git remote rm bitbucket

    965f89ba-5a5c-4079-ac52-ca3789ab23e6

    Created on: 12th October, 2022

    Last updated: 12th October, 2022

    Tagged With: