To get your commits attributing correctly you need to let git know who you are. This means sharing your name and email address you want to use for git. Here is the way:
git config --global user.name "Your Name"
git config --global user.email "youremail@provider.com"
git config --global user.email "youremail@provider.com"
Then you can type:
git config -l
to see if git remembered your changes. The user settings will remain even if you then eliminate the project (project specific settings will disappear).
No comments:
Post a Comment