Code

Implement git remote rename
authorMiklos Vajna <vmiklos@frugalware.org>
Mon, 3 Nov 2008 18:26:18 +0000 (19:26 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 5 Nov 2008 20:23:48 +0000 (12:23 -0800)
commitbf98421a3363696f3b4c8aedc242bfaadc1ce6f6
treef3515cea21f61083867f59b0d7254de801acaf9a
parent6331adb9c4ec36c70dc3ecc6eb46b7dddb36952d
Implement git remote rename

The new rename subcommand does the followings:

1) Renames the remote.foo configuration section to remote.bar

2) Updates the remote.bar.fetch refspecs

3) Updates the branch.*.remote settings

4) Renames the tracking branches: renames the normal refs and rewrites
   the symrefs to point to the new refs.

Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-remote.txt
builtin-remote.c
t/t5505-remote.sh