Converting from anonymous git clone to eponymous



I am trying to find what is the best way to convert an anonymous clone
to a non-anonymous (eponymous?) clone. I could not locate any
definitive information by searching,
which is probably due to not searching with the correct keywords.

Are there any comments to the following?

$ git clone git://git.gnome.org/git/eog
...
$ cd eog
$ git remote rm origin
$ git remote add -f -m master origin ssh://MYUSERNAME git gnome org/git/eog/
Updating origin


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]