如果你每天都要往Github上提交很多代碼,如果你的密碼又是那么的“反人類”,那么,每天輸入密碼,都是一件讓你抓狂的事兒。那么,有沒有簡(jiǎn)單的辦法。有(以Ubuntu為例):
cd ~
vim .git-credentials
#----------------------------添加以下內(nèi)容:
https://{username}:{password}@github.com
# for example:
# https://YourGithubUserName:YouGithubPasswd@github.com
#---------------------------------------------------
#在終端下輸入:
git config --global credential.helper store
# End.
