问题:
Whenever I try to push into my repo git asks for both username & password . 每当我尝试推入我的repo git时都会询问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. 我使用https来克隆我的存储库。
So, how can I configure git so that it doesn't asks for username on each git push . 那么,我如何配置git以便它不会在每个git push上请求username 。
I am new to linux but IIRC in windows git push only asks for password. 我是linux的新手,但是在Windows git push IIRC只要求输入密码。
解决方案:
参考一: https://stackoom.com/question/lqXv/Git每次推送时都会询问用户名
参考二: https://oldbug.net/q/lqXv/Git-asks-for-username-every-time-I-push


