git保存密码

每次操作都需要输入用户名和密码感觉很繁琐,解决方法,在本地的工程文件夹的.git下打开config文件
添加:

[credential]
     helper = store

再输入一次用户名密码后就可以保存住了。

原文地址:https://www.cnblogs.com/feihusurfer/p/6869773.html