I usually use github with gitbash .
When I commit, it shows my username.
My professor asked me to submit my project, which shows my full name in commit details .
I tried some solutions by editing the .gitconfig file on Windows.
I also tried some solutions from Stack Overflow , as shown below:
git config --global user.name "name"
git config --global user.email "email"
and
git config user.name "name"
git config user.email "email"
but it does not work for me.
source
share