My Github username changed from ‘preek’ to ‘munen’

If you have cloned one of my repositories, the ‘remote origin’ will now point to a 404. For your convenience I have written a script to easily change your checkout.

If you want to use it, please use your terminal to go to the checked out repository and enter the following command:

curl https://gist.github.com/munen/5124033/raw/4e38d1eb1d0e6965a4b031e48e2284d0df15eaab/hange_remote_origin.sh | sh

This will produce output like this:

$ cd ~src/the_tale_of_genji

$ curl https://gist.github.com/munen/5124033/raw/4e38d1eb1d0e6965a4b031e48e2284d0df15eaab/hange_remote_origin.sh | sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   375    0   375    0     0    374      0 --:--:--  0:00:01 --:--:--   465
Showing old remote origin
origin	git@github.com:preek/the_tale_of_genji.git (fetch)
origin	git@github.com:preek/the_tale_of_genji.git (push)
--------
succeeded in setting new remote
--------
Showing new remote origin
origin	git@github.com:munen/the_tale_of_genji.git (fetch)
origin	git@github.com:munen/the_tale_of_genji.git (push)

Category: articles, personal Comment »

Comments are closed.