diff options
author | Junio C Hamano <junio@kernel.org> | 2010-06-19 00:33:17 +0000 |
---|---|---|
committer | Junio C Hamano <junio@kernel.org> | 2010-06-19 00:33:17 +0000 |
commit | f5de4cf4e1e8bccd17515d71186e752f4716cac9 (patch) | |
tree | ab2db92276d37478b5b109d568c3726bac9f405c /git-remote.txt | |
parent | 4b7af1106d18fbf957f1f7257d099d47d2fa775f (diff) | |
download | git-htmldocs-f5de4cf4e1e8bccd17515d71186e752f4716cac9.tar.gz |
Autogenerated HTML docs for v1.7.1-422-g049e9
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 ebaaadc17..aa021b0cb 100644 --- a/git-remote.txt +++ b/git-remote.txt @@ -14,6 +14,7 @@ SYNOPSIS 'git remote rename' <old> <new> 'git remote rm' <name> 'git remote set-head' <name> (-a | -d | <branch>) +'git remote set-branches' <name> [--add] <branch>... 'git remote set-url' [--push] <name> <newurl> [<oldurl>] 'git remote set-url --add' [--push] <name> <newurl> 'git remote set-url --delete' [--push] <name> <url> @@ -110,6 +111,18 @@ remote set-head origin master" will set `$GIT_DIR/refs/remotes/origin/HEAD` to `refs/remotes/origin/master` already exists; if not it must be fetched first. + +'set-branches':: + +Changes the list of branches tracked by the named remote. +This can be used to track a subset of the available remote branches +after the initial setup for a remote. ++ +The named branches will be interpreted as if specified with the +`-t` option on the 'git remote add' command line. ++ +With `--add`, instead of replacing the list of currently tracked +branches, adds to that list. + 'set-url':: Changes URL remote points to. Sets first URL remote points to matching |