From c8d02e4bf26d8aa1037c54e2ca83bf41fe8c4579 Mon Sep 17 00:00:00 2001 From: Marcello Lamonaca Date: Mon, 14 Apr 2025 09:54:54 +0200 Subject: [PATCH] git: add rebase commit date as author date notes --- docs/misc/git.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/misc/git.md b/docs/misc/git.md index 9e80cfa..7e09e2e 100644 --- a/docs/misc/git.md +++ b/docs/misc/git.md @@ -228,6 +228,7 @@ A repository has one main worktree (if it’s not a bare repository) and zero or `git rebase -i|--interactive `: modify (reword, edit, drop, squash, merge, ...) *from* commit to latest `git rebase --autostash`: automatically create a temporary stash entry before rebasing `git rebase --autosquash`: automatically apply "squash!" or "fixup!" or "amend!" commits +`git rebase --committer-date-is-author-date`: use the author date of the commit being rebased as the committer date (instead of current time) ## [Git Revisions](https://git-scm.com/docs/gitrevisions)