X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-remote.txt;h=b20e851973ae6ae1cee17b76f3002f77cd3a3329;hb=f0abea652bf90c5a081f07e35c4a656143e0ec50;hp=10f6fa58bfddda7f0f017a2e4b02560fa012e370;hpb=e708af6e587ae0ecb2a6480e3614c5ec4a164106;p=git.git diff --git a/Documentation/git-remote.txt b/Documentation/git-remote.txt index 10f6fa58b..b20e85197 100644 --- a/Documentation/git-remote.txt +++ b/Documentation/git-remote.txt @@ -10,7 +10,7 @@ SYNOPSIS -------- [verse] 'git-remote' -'git-remote' add [-t ] [-m ] [-f] [--mirror] +'git-remote' add [-t ] [-m ] [-f] [--mirror] 'git-remote' rm 'git-remote' show 'git-remote' prune @@ -47,9 +47,11 @@ With `-m ` option, `$GIT_DIR/remotes//HEAD` is set up to point at remote's `` 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 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. +only makes sense in bare repositories. If a remote uses mirror +mode, furthermore, `git push` will always behave as if `\--mirror` +was passed. 'rm'::