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

git push -f documentation

From
JFJ. Bruce Fields <bfields@fieldses.org>
Date
Jan 30, 2006, 01:40 UTC
Message-ID
<20060130014050.GA18945@fieldses.org>

Surely the documentation here is exactly backwards? Or am I missing something?--b.

---
 Documentation/git-push.txt |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
1391326bf55bc9a9deb52a872671f29c70c0a4de
diff --git a/Documentation/git-push.txt b/Documentation/git-push.txt
index 365cfd4..a0ef61d 100644
--- a/Documentation/git-push.txt
+++ b/Documentation/git-push.txt
@@ -35,10 +35,10 @@ include::pull-fetch-param.txt[]
 	line.
 
 -f, \--force::
-	Usually, the command refuses to update a local ref that is
-	not an ancestor of the remote ref used to overwrite it.
-	This flag disables the check.  What this means is that the
-	local repository can lose commits; use it with care.
+	Usually, the command refuses to update a remote ref that is
+	not a descendent 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.
 
 
 Author
-- 
0.99.8b.g3480-dirty
Next: Junio C Hamano
Message 1 of 2 in “git push -f documentation”
  1. J. Bruce FieldsJan 30, 2006
  2. Junio C HamanoJan 30, 2006

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.