summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-09-15 05:38:06 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-09-15 05:38:06 (GMT)
commitd3392f7e86d130dfafb08736b7fa2067dd2cf070 (patch)
tree54e43a42e92e7481cb839db08eda4ef955b85e0b /Documentation
parent07efafef2bcd87b35bf8880364dd5d098058cd4e (diff)
parent38944390220425cc3c4208dd31172397e7f18e8c (diff)
downloadgit-d3392f7e86d130dfafb08736b7fa2067dd2cf070.zip
git-d3392f7e86d130dfafb08736b7fa2067dd2cf070.tar.gz
git-d3392f7e86d130dfafb08736b7fa2067dd2cf070.tar.bz2
Merge branch 'js/remote'
* js/remote: Teach "git remote" a mirror mode
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-remote.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/Documentation/git-remote.txt b/Documentation/git-remote.txt
index 61a6022..94b9f17 100644
--- a/Documentation/git-remote.txt
+++ b/Documentation/git-remote.txt
@@ -10,7 +10,7 @@ SYNOPSIS
--------
[verse]
'git-remote'
-'git-remote' add [-t <branch>] [-m <branch>] [-f] <name> <url>
+'git-remote' add [-t <branch>] [-m <branch>] [-f] [--mirror] <name> <url>
'git-remote' show <name>
'git-remote' prune <name>
'git-remote' update [group]
@@ -45,6 +45,10 @@ multiple branches without grabbing all branches.
With `-m <master>` option, `$GIT_DIR/remotes/<name>/HEAD` is set
up to point at remote's `<master>` branch instead of whatever
branch the `HEAD` at the remote repository actually points at.
++
+In mirror mode, enabled with `--mirror`, the refs will not be stored
+in the 'refs/remotes/' namespace, but in 'refs/heads/'. This option
+only makes sense in bare repositories.
'show'::