使用github的公共仓库,但每次提交都要求填写帐号密码,有点麻烦,下面的方法可以让git“记住密码”
==================================================================
在"C:\Documents and Settings\Administrator\.gitconfig" 文件 或 "项目/.git/config"文件 里增加两行
- [credential]
- helper = store
- https://username:987654321@github.com
- https://myusername:123456789@other.com