git账户的存储

在使用git时,使用git pull,或git push,每次都要我输入用户名和密码,比较麻烦.git有个参数可以解决这个问题。

修改./git/config文件,增加

[credential]
        helper = store

问题解决。

原文地址:https://www.cnblogs.com/51cto/p/git.html