I wanted to have a default Committer that’s different from my default Author, as I need to differentiate commits made from my local and testing environments.
This is not as straight-forward as setting name/email at git, as there are no separate configuration entries for author and committer. However, it’s still possible if you override some environment variables, as follows:
Example (at your
GIT_COMMITTER_NAME=”Deploy server” GIT_COMMITTER_EMAIL=”email@example.com”
In case you’ve forgotten/don’t know, you can set default name/user for git commits by editing
~/.gitconfig or running commands like these:
$ git config — global user.name “Igor Santos” $ git config — global user.email “firstname.lastname@example.org”