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

[PATCH] git-fetch.txt: Update over git fetch example on using `+`.

From
Roberto Decurnex <decurnex.roberto@gmail.com>
Date
Oct 27, 2014, 20:39 UTC
Message-ID
<1414442356-25688-1-git-send-email-roberto.decurnex@avature.net>
From: Roberto Decurnex <decurnex.roberto@gmail.com>
Making clear that `+` before a branch name will force the update even for non-fast-forward branches.
Signed-off-by: Roberto Decurnex <decurnex.roberto@gmail.com>
---
 Documentation/git-fetch.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/git-fetch.txt b/Documentation/git-fetch.txt
index 8deb614..b971a2b 100644
--- a/Documentation/git-fetch.txt
+++ b/Documentation/git-fetch.txt
@@ -124,7 +124,7 @@ This updates (or creates, as necessary) branches `pu` and `tmp` in
 the local repository by fetching from the branches (respectively)
 `pu` and `maint` from the remote repository.
 +
-The `pu` branch will be updated even if it is does not fast-forward,
+The `pu` branch will be updated even if it is non-fast-forward,
 because it is prefixed with a plus sign; `tmp` will not be.
 
 * Peek at a remote's branch, without configuring the remote in your local
-- 
2.0.4
Message 1 of 1 in “git-fetch.txt: Update over git fetch example on using `+`.”
  1. git-fetch.txt: Update over git fetch example on using `+`.Roberto Decurnex, Oct 27, 2014

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.