Git asks for username every time I push
Asked 07 September, 2021
Viewed 2.9K times
  • 52
Votes

Whenever I try to push into my repo git asks for both username & password.

I have no problem in re-entering my password each time but the problem is in entering username. I use https to clone my repository.

So, how can I configure git so that it doesn't asks for username on each git push.

I am new to linux but IIRC in windows git push only asks for password.

30 Answer