rebase: add --reset-author-date

The previous commit introduced --ignore-date flag to interactive
rebase, but the name is actually very vague in context of rebase -i
since there are two dates we can work with. Add an alias to convey
the precise purpose.

Signed-off-by: Rohit Ashiwal <rohit.ashiwal265@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Rohit Ashiwal
2019-11-01 19:30:03 +05:30
committed by Junio C Hamano
parent 08187b4cba
commit fe28ad8520
2 changed files with 3 additions and 0 deletions

View File

@@ -391,6 +391,7 @@ See also INCOMPATIBLE OPTIONS below.
as the committer date. This implies --force-rebase.
--ignore-date::
--reset-author-date::
Instead of using the given author date, reset it to the
current time. This implies --force-rebase.
+