git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 1/2] Doc: remote set-head long options

From
Philip Oakley <philipoakley@iee.org>
Date
Sep 21, 2013, 15:51 UTC
Message-ID
<1379778706-5664-2-git-send-email-philipoakley@iee.org>
In-Reply-To
<1379778706-5664-1-git-send-email-philipoakley@iee.org>
Signed-off-by: Philip Oakley <philipoakley@iee.org>
---
 Documentation/git-remote.txt | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Documentation/git-remote.txt b/Documentation/git-remote.txt
index 9c3e3bf..2507c8b 100644
--- a/Documentation/git-remote.txt
+++ b/Documentation/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
-- 
1.8.1.msysgit.1
Previous: Philip OakleyNext: Philip Oakley
Message 2 of 4 in “Update 'git remote set-head' doc and uasage”
  1. 0/2 Update 'git remote set-head' doc and uasagePhilip Oakley, Sep 21, 2013
  2. 1/2 Doc: remote set-head long optionsPhilip Oakley, Sep 21, 2013
  3. 2/2 remote set-head: show long options in usagePhilip Oakley, Sep 21, 2013
  4. Jonathan NiederSep 27, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.