Github fixes that the full name is displayed instead of the username

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.

+4
source share
1 answer

Try the following:

git commit --amend --author="Author Name <email@address.com>"
0

Source: https://habr.com/ru/post/1676262/


All Articles