Git config committer email address
To set the committer email address in Git, you can use the following command:
git config --global user.email "[email protected]"
Replace "[email protected]"
with your actual email address.
If you want to set the committer email address for a specific repository only, you can use the following command:
git config --local user.email "[email protected]"
The --global
option sets the email address for all Git repositories on your system, while the --local
option sets the email address for the current repository only.
You can also check the current committer email address using the following command:
git config user.email
This will display the current email address set for the committer.
Note: The committer email address is used to identify the author of a commit, and is stored in the commit metadata. It is not the same as the email address used for sending emails from Git (e.g. when you use git send-email
).