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

[PATCH] Fixed git-push manpage

From
JBJyotirmoy Bhattacharya <jyotirmoy@jyotirmoy.net>
Date
Aug 5, 2007, 05:22 UTC
Message-ID
<11862913353314-git-send-email-jyotirmoy@jyotirmoy.net>

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(-)
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
Next: Junio C Hamano
Message 1 of 2 in “Fixed git-push manpage”
  1. Fixed git-push manpageJyotirmoy Bhattacharya, Aug 5, 2007
  2. Junio C HamanoAug 5, 2007

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.