git 设置存储用户名与密码

论坛 期权论坛 编程之家     
选择匿名的用户   2021-6-2 20:43   6627   0
git config --global user.name "light-zhang"
git config --global user.email "****@sina.cn"
git config --global credential.helper cache

cache不是windows 下的,于是乎运行总是报错,
git: 'credential-cache' is not a git command. See 'get --help'.
windows:
git config --global credential.helper winstore

git config --global credential.helper wincred
linux:
git config --global credential.helper store

转载于:https://www.cnblogs.com/light-zhang/p/9066380.html

分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:3875789
帖子:775174
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP