author | Miklos Vajna <vmiklos@frugalware.org> | |
Mon, 3 Nov 2008 18:26:18 +0000 (19:26 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 5 Nov 2008 20:23:48 +0000 (12:23 -0800) | ||
commit | bf98421a3363696f3b4c8aedc242bfaadc1ce6f6 | |
tree | f3515cea21f61083867f59b0d7254de801acaf9a | tree | snapshot |
parent | 6331adb9c4ec36c70dc3ecc6eb46b7dddb36952d | commit | diff |
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>
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 | diff | blob | history | |
builtin-remote.c | diff | blob | history | |
t/t5505-remote.sh | diff | blob | history |