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
相關文章
相關標籤/搜索