0

I have set user name and email by following these commands

$ git config --global user.name "Your Name"
$ git config --global user.email "your@email.address"

but whenever i commit the changes it asks for username always, I don't want to enter it always since it is set already.

The command should only ask for password not the user.

How to do this in git.

4

1 回答 1

0

这是重复的:Git 每次推送时都会询问用户名

但更好:使用 ssh 而不是 https

看看这里:https ://help.github.com/articles/generating-ssh-keys

于 2013-07-09T04:41:43.573 回答