方法一:
本地git仓库目录下,找到 .git/config ,然后打开增加:
[credential]
helper = store
这样只有该目录下的git操作不用每次输入用户名和密码,换一个目录还是需要;
方法二:
在目录:
/c/Documents and Settings/【用户名】 下找到.gitconfig文件,
编辑,增加:
[credential]
helper = store
这样任何目录的git操作只需要输入一次用户名和密码,第二次操作就不需要了;
方法一:
本地git仓库目录下,找到 .git/config ,然后打开增加:
[credential]
helper = store
这样只有该目录下的git操作不用每次输入用户名和密码,换一个目录还是需要;
方法二:
在目录:
/c/Documents and Settings/【用户名】 下找到.gitconfig文件,
编辑,增加:
[credential]
helper = store
这样任何目录的git操作只需要输入一次用户名和密码,第二次操作就不需要了;
转载于:https://my.oschina.net/hewenbin/blog/1137785