Friday, February 19, 2016

Updating Git Remote URL's

This is a follow-on to the last post, so you've moved your git repos around a bunch now you need to fix your push/pull locations. This is a really easy fix.

Go to the folder where your repository lives and edit .git/config (for me command line gedit .git/config) and change the url to the one you want.

With BitBucket, for me the URL that contains onaclov2000@bitbucket.org isn't right (not sure who that would be right for).

So for me the URL's look something like this (much more githubish).

https://bitbucket.org/onaclovtech/rpm.git

Good luck!