Git: add alias to rebase without resetting committer date
This commit is contained in:
parent
9d4777f7f7
commit
b159429e14
@ -9,3 +9,6 @@ git config --global init.defaultBranch main
|
|||||||
git config --global pull.ff only
|
git config --global pull.ff only
|
||||||
git config --global rerere.enabled true
|
git config --global rerere.enabled true
|
||||||
git config --global tag.gpgSign 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"
|
||||||
|
Loading…
Reference in New Issue
Block a user