OSDN Git Service

git-remote: document the migration feature of the rename subcommand
authorMiklos Vajna <vmiklos@frugalware.org>
Mon, 10 Nov 2008 20:43:03 +0000 (21:43 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 12 Nov 2008 04:25:49 +0000 (20:25 -0800)
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-remote.txt

index 7b227b3..fad983e 100644 (file)
@@ -66,6 +66,10 @@ was passed.
 
 Rename the remote named <old> to <new>. All remote tracking branches and
 configuration settings for the remote are updated.
++
+In case <old> and <new> are the same, and <old> is a file under
+`$GIT_DIR/remotes` or `$GIT_DIR/branches`, the remote is converted to
+the configuration file format.
 
 'rm'::