Skip to content

Commit 067f86f

Browse files
committed
Merge branch 'so/rebase-doc'
May need further updates to the description to explain what makes various modes of operation to decide that the request can become a "no-op". * so/rebase-doc: Documentation/git-rebase.txt: -f forces a rebase that would otherwise be a no-op
2 parents 715b63c + 2d26d53 commit 067f86f

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Documentation/git-rebase.txt

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -316,11 +316,8 @@ which makes little sense.
316316

317317
-f::
318318
--force-rebase::
319-
Force the rebase even if the current branch is a descendant
320-
of the commit you are rebasing onto. Normally non-interactive rebase will
321-
exit with the message "Current branch is up to date" in such a
322-
situation.
323-
Incompatible with the --interactive option.
319+
Force a rebase even if the current branch is up-to-date and
320+
the command without `--force` would return without doing anything.
324321
+
325322
You may find this (or --no-ff with an interactive rebase) helpful after
326323
reverting a topic branch merge, as this option recreates the topic branch with

0 commit comments

Comments
 (0)