threads / patch / 37822

patchgit-fetch.txt: Update over git fetch example on using `+`.

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

## tl;dr

One message between Oct 27, 2014 and Oct 27, 2014. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Roberto Decurnex· Oct 27, 2014, 20:39 UTC · lore
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(-)
Show changes to Documentation/git-fetch.txt +1 −1
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

← back to recent threads