aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-remote.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-06-18 11:16:55 -0700
committerJunio C Hamano <gitster@pobox.com>2010-06-18 11:16:55 -0700
commit1c5d6b2a401576f74c76f56dae0204604235705c (patch)
treef661cd3c4092346516d5f3ecb06fa2687ca9978e /Documentation/git-remote.txt
parent199d4c0d434623eafc3a93dddad756ec029f57ff (diff)
parent3d8b69495fd1132d5af6d7f46425cca97a937d97 (diff)
downloadgit-1c5d6b2a401576f74c76f56dae0204604235705c.tar.gz
Merge branch 'jn/remote-set-branches'
* jn/remote-set-branches: Add git remote set-branches Conflicts: builtin/remote.c
Diffstat (limited to 'Documentation/git-remote.txt')
-rw-r--r--Documentation/git-remote.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/Documentation/git-remote.txt b/Documentation/git-remote.txt
index ebaaadc178..aa021b0cb8 100644
--- a/Documentation/git-remote.txt
+++ b/Documentation/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