Pretty much what the image shows. I don't have my credentials stored on my PC, I type them in each time. The machine and credentials are identical between all commits, and I'm the only person allowed to work on that project anyways ...
Asked
Active
Viewed 80 times
1
-
Does `git config user.name` or `git config user.email` print something? – vkozyrev Apr 21 '20 at 06:59
-
@vkozyrev "I don't have my credentials stored on my PC", "I type them in each time". They should be empty right ? It does always ask me on a push what my username and pass are – Twiggeh Apr 21 '20 at 07:03
2 Answers
0
Set the user name and email in your PC as below, you will not have to type them in each time
git config --global user.email "you@example.com"
git config --global user.name "Your Name"

Parvathi
- 16
- 2
-
Already set my email and pass by @vkozyrev suggestion. Still have to type em in :) – Twiggeh Apr 21 '20 at 07:17
-
-
-
Have you tried any of these [link](https://stackoverflow.com/questions/11403407/git-asks-for-username-every-time-i-push) – Parvathi Apr 21 '20 at 09:18
0
Didn't think that I needed to save user.email and user.name if git asked each time for the email / pass anyways. Saving them made the issue go away

Twiggeh
- 1,030
- 1
- 12
- 24