ID Yourself

less than 1 minute read

ID Yourself

git config --global user.name "Alexander Kerner"
git config --global user.email hansimglueck@gmail.com

Those infos (and all other global configurations) are stored in ~/.gitconfig. Omit the --global option to configure project-local.

To fix the identity used for last commit:

git commit --amend --reset-author

Tags:

Categories: ,

Updated: