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