@@ -258,6 +258,12 @@ 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 up to date.+ Normally, if the current branch is up to date, the rebase is+ aborted.+ --whitespace=<option>:: This flag is passed to the 'git-apply' program (see linkgit:git-apply[1]) that applies the patch.
Awesome, thanks! Perhaps you could, for extra brownie points, add a
line to the --whitespace=fix documentation that it implies
--force-rebase?
--
Cheers,
Sverre Rabbelier
@@ -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::
Add the options --committer-date-is-author-date and --ignore-date
to git-rebase. They were introduced in commit a79ec62d0 for git-am.
These options imply --force-rebase.
Signed-off-by: Michele Ballabio <redacted>
---
Documentation/git-rebase.txt | 6 ++++++
git-rebase.sh | 4 ++++
2 files changed, 10 insertions(+), 0 deletions(-)
@@ -272,6 +272,12 @@ OPTIONS If the flag `fix` (or its equivalent `strip`) is used, it implies --force-rebase.+--committer-date-is-author-date::+--ignore-date::+ These flags are passed to 'git-am' to easily change the dates+ of the rebased commits (see linkgit:git-am[1]).+ Both imply --force-rebase.+ -i:: --interactive:: Make a list of the commits which are about to be rebased. Let the
Add the options --committer-date-is-author-date and --ignore-date
to git-rebase. They were introduced in commit a79ec62d0 for git-am.
Signed-off-by: Michele Ballabio <redacted>
---
I'm not sure if force_rebase should be set in this case.
Documentation/git-rebase.txt | 5 +++++
git-rebase.sh | 3 +++
2 files changed, 8 insertions(+), 0 deletions(-)
@@ -269,6 +269,11 @@ OPTIONS (see linkgit:git-apply[1]) that applies the patch. Incompatible with the --interactive option.+--committer-date-is-author-date::+--ignore-date::+ These flags are passed to 'git-am' to easily change the dates+ of the rebased commits (see linkgit:git-am[1]).+ -i:: --interactive:: Make a list of the commits which are about to be rebased. Let the