summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorRohit Ashiwal <rohit.ashiwal265@gmail.com>2020-08-17 17:40:04 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-08-19 22:22:56 (GMT)
commit27126692ba1688081d8427220087bb7662594bd9 (patch)
tree2b01a2bcfc418c75abe7d34e00ebf6f6e1424be6 /Documentation
parenta3894aad67df655a9c7f3b511093f681d3a01fb7 (diff)
downloadgit-27126692ba1688081d8427220087bb7662594bd9.zip
git-27126692ba1688081d8427220087bb7662594bd9.tar.gz
git-27126692ba1688081d8427220087bb7662594bd9.tar.bz2
rebase: add --reset-author-date
The previous commit introduced --ignore-date flag to rebase -i, but the name is rather vague as it does not say whether the author date or the committer date is ignored. Add an alias to convey the precise purpose. Helped-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Rohit Ashiwal <rohit.ashiwal265@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-rebase.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/git-rebase.txt b/Documentation/git-rebase.txt
index 79cecd2..1ee3bb4 100644
--- a/Documentation/git-rebase.txt
+++ b/Documentation/git-rebase.txt
@@ -450,6 +450,7 @@ See also INCOMPATIBLE OPTIONS below.
date. This option implies `--force-rebase`.
--ignore-date::
+--reset-author-date::
Instead of using the author date of the original commit, use
the current time as the author date of the rebased commit. This
option implies `--force-rebase`.