diff options
author | Junio C Hamano <junkio@cox.net> | 2007-02-25 23:26:11 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-02-25 23:50:29 -0800 |
commit | c5ddca1fff44896b7e94801da75392ccc234060c (patch) | |
tree | 721174664b84824b66eb08f21a315235798ef735 /Documentation | |
parent | diff --cc: fix display of symlink conflicts during a merge. (diff) | |
download | tgif-c5ddca1fff44896b7e94801da75392ccc234060c.tar.xz |
Documentation: describe "-f/-t/-m" options to "git-remote add"
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/git-remote.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Documentation/git-remote.txt b/Documentation/git-remote.txt index a60c31a315..a2ff8f098e 100644 --- a/Documentation/git-remote.txt +++ b/Documentation/git-remote.txt @@ -31,6 +31,19 @@ subcommands are available to perform operations on the remotes. Adds a remote named <name> for the repository at <url>. The command `git fetch <name>` can then be used to create and update remote-tracking branches <name>/<branch>. ++ +With `-f` option, `git fetch <name>` is run immediately after +the remote information is set up. ++ +With `-t <branch>` option, instead of the default glob +refspec for the remote to track all branches under +`$GIT_DIR/remotes/<name>/`, a refspec to track only `<branch>` +is created. You can give more than one `-t <branch>` to track +multiple branche 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. 'show':: |