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

[PATCH v3 2/3] document --force-rebase

From
Michele Ballabio <barra_cuda@katamail.com>
Date
Mar 19, 2009, 15:28 UTC
Message-ID
<1237476528-6040-1-git-send-email-barra_cuda@katamail.com>
In-Reply-To
<fabb9a1e0903190401k1127dc8ev7704c8a7bd381c99@mail.gmail.com>
Words by Junio.
Signed-off-by: Michele Ballabio <barra_cuda@katamail.com>
---
On Thursday 19 March 2009, Sverre Rabbelier wrote:
> Awesome, thanks! Perhaps you could, for extra brownie points, add a
> line to the --whitespace=fix documentation that it implies
> --force-rebase?
You're right, I resent 3/3 for the same reason.
 Documentation/git-rebase.txt |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/Documentation/git-rebase.txt b/Documentation/git-rebase.txt
index 57bd333..7ffeec8 100644
--- a/Documentation/git-rebase.txt
+++ b/Documentation/git-rebase.txt
@@ -258,10 +258,19 @@ OPTIONS
 	context exist they all must match.  By default no context is
 	ever ignored.
 
+-f::
+--force-rebase::
+	Force the rebase even if the current branch is a descendant
+	of the commit you are rebasing onto.  Normally the command will
+	exit with the message "Current branch is up to date" in such a
+	situation.
+
 --whitespace=<option>::
 	This flag is passed to the 'git-apply' program
 	(see linkgit:git-apply[1]) that applies the patch.
 	Incompatible with the --interactive option.
+	If the option `fix` (or its equivalent `strip`) is used, it implies
+	--force-rebase.
 
 -i::
 --interactive::
-- 
1.6.2.22.gc2ac
Previous: Sverre RabbelierNext: Michele Ballabio
Message 8 of 13 in “rebase: fix typo (force_rebas -> force-rebas)”
  1. 1/3 rebase: fix typo (force_rebas -> force-rebas)Michele Ballabio, Mar 18, 2009
  2. 2/3 document --force-rebaseMichele Ballabio, Mar 18, 2009
  3. Junio C HamanoMar 18, 2009
  4. Junio C HamanoMar 18, 2009
  5. 2/3 document --force-rebaseMichele Ballabio, Mar 18, 2009
  6. Johannes SchindelinMar 18, 2009
  7. Sverre RabbelierMar 19, 2009
  8. 2/3 document --force-rebaseMichele Ballabio, Mar 19, 2009
  9. 3/3 rebase: add options passed to git-amMichele Ballabio, Mar 19, 2009
  10. 3/3 rebase: add options passed to git-amMichele Ballabio, Mar 18, 2009
  11. Junio C HamanoMar 18, 2009
  12. 3/3 rebase: add options passed to git-amMichele Ballabio, Mar 18, 2009
  13. Michele BallabioMar 27, 2009

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.