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.

Java Questions
  • 7,624
  • 38
  • 114
  • 172

1 Answers1

0

This is duplicate to : Git asks for username everytime I push

But better: use ssh instead of https

take a look here: https://help.github.com/articles/generating-ssh-keys

Community
  • 1
  • 1
cnd
  • 30,795
  • 60
  • 175
  • 303