在命令行輸入命令:
git config --global credential.helper store
? 這一步會(huì)在用戶目錄下的.gitconfig文件最后添加:
[credential]
helper = store
現(xiàn)在push你的代碼 (git push),? 這時(shí)會(huì)讓你輸入用戶名密碼, 這一步輸入的用戶名密碼會(huì)被記住, 下次再push代碼時(shí)就不用輸入用戶名密碼啦!
在命令行輸入命令:
git config --global credential.helper store
? 這一步會(huì)在用戶目錄下的.gitconfig文件最后添加:
[credential]
helper = store
現(xiàn)在push你的代碼 (git push),? 這時(shí)會(huì)讓你輸入用戶名密碼, 這一步輸入的用戶名密碼會(huì)被記住, 下次再push代碼時(shí)就不用輸入用戶名密碼啦!