Git: add alias to rebase without resetting committer date

This commit is contained in:
DuckDuckWhale 2022-10-22 02:15:59 -07:00
parent 9d4777f7f7
commit b159429e14
Signed by: DuckDuckWhale
GPG Key ID: E4B9FC170FFD71CE

View File

@ -9,3 +9,6 @@ git config --global init.defaultBranch main
git config --global pull.ff only
git config --global rerere.enabled true
git config --global tag.gpgSign true
git config --global alias.rebase-keep-date "-c rebase.instructionFormat='%s%nexec "\
"GIT_COMMITTER_DATE=%cI git commit --amend --date=%aI --no-edit --allow-empty "\
"--allow-empty-message' rebase"