threads / patch / 9389

patchFixed git-push manpage

Subject: [PATCH] Fixed git-push manpage

## tl;dr

2 messages between Aug 5, 2007 and Aug 5, 2007. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Jyotirmoy Bhattacharya· Aug 5, 2007, 05:22 UTC · lore

In git-push it is the remote repository and not the local repository which is fast forwarded. The description of the -f option in the git-push manpage gets it the other way round.

Signed-off-by: Jyotirmoy Bhattacharya <jyotirmoy@jyotirmoy.net>
---
 Documentation/git-push.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Show changes to Documentation/git-push.txt +1 −1
diff --git a/Documentation/git-push.txt b/Documentation/git-push.txt
index 74a0da1..0dd9caf 100644
--- a/Documentation/git-push.txt
+++ b/Documentation/git-push.txt
@@ -79,7 +79,7 @@ the remote repository.
 
 -f, \--force::
 	Usually, the command refuses to update a remote ref that is
-	not a descendant of the local ref used to overwrite it.
+	not an ancestor of the local ref used to overwrite it.
 	This flag disables the check.  This can cause the
 	remote repository to lose commits; use it with care.
 
-- 
1.5.2.4

← back to recent threads