diff options
-rw-r--r-- | %HOME%/.bash_utils/git.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/%HOME%/.bash_utils/git.sh b/%HOME%/.bash_utils/git.sh index 361d16e..77c9193 100644 --- a/%HOME%/.bash_utils/git.sh +++ b/%HOME%/.bash_utils/git.sh @@ -144,3 +144,8 @@ branch_backup_dropbox() ( branch_backup "$USERPROFILE/Dropbox/backups" ) + +branch_fixup_committer_dates() ( + set -o errexit + git filter-branch --env-filter 'export GIT_COMMITTER_DATE="$GIT_AUTHOR_DATE"' +) |