Always use specified option when rebasing

I recently discovered the --committer-date-is-author-date option for git rebase. I’d like to make this the global default whenever I rebase. Is there a way to modify .gitconfig so that this option is always used?

>Solution :

An option would be to create an alias of the command that includes the option.

git config global 'rebase --committer-date-is-author-date'

Leave a Reply