threads / discuss / 3181

git push -f documentation

Subject: git push -f documentation

## tl;dr

2 messages between Jan 30, 2006 and Jan 30, 2006.

replies: 1people: 2as markdown or json

J. Bruce Fields· Jan 30, 2006, 01:40 UTC · lore

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

← back to recent threads