X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-remote.txt;h=b20e851973ae6ae1cee17b76f3002f77cd3a3329;hb=f0abea652bf90c5a081f07e35c4a656143e0ec50;hp=886bc03c4af0c1a9ab8232fc305c68a6a5e10d2a;hpb=154c7d0759b6885034bffa7a34d464d703fc8bb3;p=git.git diff --git a/Documentation/git-remote.txt b/Documentation/git-remote.txt index 886bc03c4..b20e85197 100644 --- a/Documentation/git-remote.txt +++ b/Documentation/git-remote.txt @@ -10,7 +10,8 @@ SYNOPSIS -------- [verse] 'git-remote' -'git-remote' add [-t ] [-m ] [-f] +'git-remote' add [-t ] [-m ] [-f] [--mirror] +'git-remote' rm 'git-remote' show 'git-remote' prune 'git-remote' update [group] @@ -45,6 +46,17 @@ multiple branches without grabbing all branches. 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 the 'refs/remotes/' namespace, but in 'refs/heads/'. This option +only makes sense in bare repositories. If a remote uses mirror +mode, furthermore, `git push` will always behave as if `\--mirror` +was passed. + +'rm':: + +Remove the remote named . All remote tracking branches and +configuration settings for the remote are removed. 'show':: @@ -71,7 +83,7 @@ remotes.. If a named group is not specified on the command line, the configuration parameter remotes.default will get used; if remotes.default is not defined, all remotes which do not have the configuration parameter remote..skipDefaultUpdate set to true will -be updated. (See gitlink:git-config[1]). +be updated. (See linkgit:git-config[1]). DISCUSSION @@ -79,7 +91,7 @@ DISCUSSION The remote configuration is achieved using the `remote.origin.url` and `remote.origin.fetch` configuration variables. (See -gitlink:git-config[1]). +linkgit:git-config[1]). Examples -------- @@ -118,9 +130,9 @@ $ git merge origin See Also -------- -gitlink:git-fetch[1] -gitlink:git-branch[1] -gitlink:git-config[1] +linkgit:git-fetch[1] +linkgit:git-branch[1] +linkgit:git-config[1] Author ------ @@ -134,4 +146,4 @@ Documentation by J. Bruce Fields and the git-list . GIT --- -Part of the gitlink:git[7] suite +Part of the linkgit:git[7] suite