linux - Git asks for username every time I push -


Whenever I try to push my repo GIT, both username and amp; Password .

I have no problem re-entering my password every time but the problem is to enter the user name

So, how can I configure git so that it is The user name will not ask for each Git push .

I am new to Linux but in the IIRC window, git push asks for password only.

You can store your credentials using the following commands

  $ Git config credential.helper store $ git push http: // example .com / repo.git username: & lt; Type your username & gt; Password: & lt; Type your password & gt;   

In addition, I recommend you to $ git help credentials

Comments