On Mon, Jan 4, 2010 at 2:45 PM, Dongas <dongas86@xxxxxxxxx> wrote: > So i need to change the remote name manually. > > I tried modifying the .git/config file locally but it didn't work. > > Could someone help tell how to do it? After editing .git/config, do this: $ mv .git/refs/remotes/OLDNAME .git/refs/remotes/NEWNAME and optionally: $ mv .git/logs/refs/remotes/OLDNAME .git/logs/refs/remotes/NEWNAME Remember to rename the remote in any tracking branches in .git/config, as well as the name in the [remote "OLDNAME"] section, and the name in any fetch and push lines. ie [remote "OLDNAME"] url = something fetch = +refs/heads/*:refs/remotes/OLDNAME/* [branch "master"] remote = OLDNAME merge = refs/heads/master Becomes [remote "NEWNAME"] url = something fetch = +refs/heads/*:refs/remotes/NEWNAME/* [branch "master"] remote = NEWNAME merge = refs/heads/master -- Virus found in this message. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html