summaryrefslogtreecommitdiffstats
path: root/git-remote.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-10-15 11:40:25 -0700
committerJunio C Hamano <gitster@pobox.com>2013-10-15 11:40:25 -0700
commit369e340f234cf9372003f0e912c6fa14f3e970fc (patch)
tree7f0c2cdeb1043a4a25b65d721220eac32af407f1 /git-remote.txt
parent79f4c7c3c9b29ade5534a5f1d01db2c67721d6a8 (diff)
downloadgit-htmldocs-369e340f234cf9372003f0e912c6fa14f3e970fc.tar.gz
Autogenerated HTML docs for v1.8.4-554-g2b7ca9
Diffstat (limited to 'git-remote.txt')
-rw-r--r--git-remote.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/git-remote.txt b/git-remote.txt
index 9c3e3bf83..2507c8bd9 100644
--- a/git-remote.txt
+++ b/git-remote.txt
@@ -13,7 +13,7 @@ SYNOPSIS
'git remote add' [-t <branch>] [-m <master>] [-f] [--[no-]tags] [--mirror=<fetch|push>] <name> <url>
'git remote rename' <old> <new>
'git remote remove' <name>
-'git remote set-head' <name> (-a | -d | <branch>)
+'git remote set-head' <name> (-a | --auto | -d | --delete | <branch>)
'git remote set-branches' [--add] <name> <branch>...
'git remote set-url' [--push] <name> <newurl> [<oldurl>]
'git remote set-url --add' [--push] <name> <newurl>
@@ -101,9 +101,9 @@ branch. For example, if the default branch for `origin` is set to
`master`, then `origin` may be specified wherever you would normally
specify `origin/master`.
+
-With `-d`, the symbolic ref `refs/remotes/<name>/HEAD` is deleted.
+With `-d` or `--delete`, the symbolic ref `refs/remotes/<name>/HEAD` is deleted.
+
-With `-a`, the remote is queried to determine its `HEAD`, then the
+With `-a` or `--auto`, the remote is queried to determine its `HEAD`, then the
symbolic-ref `refs/remotes/<name>/HEAD` is set to the same branch. e.g., if the remote
`HEAD` is pointed at `next`, "`git remote set-head origin -a`" will set
the symbolic-ref `refs/remotes/origin/HEAD` to `refs/remotes/origin/next`. This will