Git每次推送时都会询问用户名 - Git asks for username every time I push

问题:

Whenever I try to push into my repo git asks for both username & password . 每当我尝试推入个人repo git时都会询问username & password linux

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来克隆个人存储库。 git

So, how can I configure git so that it doesn't asks for username on each git push . 那么,我如何配置git以便它不会在每一个git push上请求username windows

I am new to linux but IIRC in windows git push only asks for password. 我是linux的新手,可是在Windows git push IIRC只要求输入密码。 spa


解决方案:

参考一: https://stackoom.com/question/lqXv/Git每次推送时都会询问用户名
参考二: https://oldbug.net/q/lqXv/Git-asks-for-username-every-time-I-push
相关文章
相关标签/搜索