diff options
author | Junio C Hamano <junio@hera.kernel.org> | 2007-02-26 09:50:21 +0000 |
---|---|---|
committer | Junio C Hamano <junio@hera.kernel.org> | 2007-02-26 09:50:21 +0000 |
commit | 17dde0e423f4710264b28df4670ce94847970f64 (patch) | |
tree | fc0e891222a78aa4c3cca4d59b7dd879448439c9 /git-remote.txt | |
parent | 7f8ce022486b58c25a768cc5da536034e84db0ca (diff) | |
download | git-htmldocs-17dde0e423f4710264b28df4670ce94847970f64.tar.gz |
Autogenerated HTML docs for v1.5.0.2-204-gc260
Diffstat (limited to 'git-remote.txt')
-rw-r--r-- | git-remote.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/git-remote.txt b/git-remote.txt index 250761f97..266faade3 100644 --- a/git-remote.txt +++ b/git-remote.txt @@ -32,6 +32,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':: |