Skip to main content

Git Tips and Tricks

Git is a source control management software

Move repo

Sometimes you need to move a reposetory from one provider to another you can follow the procedure below.

$ cd $HOME/Code/repo-directory
$ git remote rename origin bitbucket
$ git remote add origin https://github.com/mandiwise/awesome-new-repo.git
$ git push origin master
$ git remote rm bitbucket