Re: Reporting Bug in Git Version Control System
From: Jakub Narębski <hidden>
Date: 2016-10-31 16:09:59
W dniu 25.10.2016 o 10:51, Pranit Bauva pisze:
Hey Yash, Junio has explained the problem very well. Since you seem to be a beginner (guessing purely by your email) I will tell you how to fix it. Remember when you would have first installed git, you would have done something like `git config --global user.name <what ever name>` and `git config --global user.email <what ever email>`, it gets permanently stored in the git configuration file (~/.gitconfig). Now all the commits in git are made with this name and email. If you want to change this, again run the above commands with your new name and email. After that commits will be done with a different name and email. Hope this helps! :)
First, per user Git configuration doesn't necessarily go into ~/.gitconfig; it could be in ~/.config/git/config Second, you can configure user.email and user.name with `git config` or `git config --local`. The information would go into .git/config for specific repository. This might be a better solution if you want different settings for different repositories. -- Jakub Narębski