背景:
已经拽下仓库的代码;
每次pull/push都需要重输密码;
需求:
git操作免密。
解决方案(转载来的)——
在sourcetree 的界面打开终端(按钮在写文章时所用sourceTree版本的右上角):
在终端输入 git config --global credential.helper store;
执行一次pull/push操作(此时还需要输入密码);
从此以后就不用再输入密码了
背景:
已经拽下仓库的代码;
每次pull/push都需要重输密码;
需求:
git操作免密。
解决方案(转载来的)——
在sourcetree 的界面打开终端(按钮在写文章时所用sourceTree版本的右上角):
在终端输入 git config --global credential.helper store;
执行一次pull/push操作(此时还需要输入密码);
从此以后就不用再输入密码了