@matheusbsbs / matheus-bagliano / commits / c5ddca1fff
Fork 0

Documentation: describe "-f/-t/-m" options to "git-remote add"

Signed-off-by: Junio C Hamano <junkio@cox.net>

Junio C Hamano committed Feb 25, 2007 at 23:26 UTC c5ddca1fff44896b7e94801da75392ccc234060c
1 file changed +13
Documentation/git-remote.txt
+13
@@ -31,6 +31,19 @@ subcommands are available to perform operations on the remotes.
31 Adds a remote named <name> for the repository at
32 <url>. The command `git fetch <name>` can then be used to create and
33 update remote-tracking branches <name>/<branch>.
34 ++
35 +With `-f` option, `git fetch <name>` is run immediately after
36 +the remote information is set up.
37 ++
38 +With `-t <branch>` option, instead of the default glob
39 +refspec for the remote to track all branches under
40 +`$GIT_DIR/remotes/<name>/`, a refspec to track only `<branch>`
41 +is created. You can give more than one `-t <branch>` to track
42 +multiple branche without grabbing all branches.
43 ++
44 +With `-m <master>` option, `$GIT_DIR/remotes/<name>/HEAD` is set
45 +up to point at remote's `<master>` branch instead of whatever
46 +branch the `HEAD` at the remote repository actually points at.
47
48 'show'::
49