新安装的git 要打开gitbash 运行下面两个命令:
1 git config --global user.name "Your Name"
2 git config --global user.email you@example.com

然后就可以 git pull http://jfsdfjsdjfjsd.git
当你使用git Bash Here输入错误密码后 无法自动让你重新输入密码,一直报错:

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。

Cloning into 'shopping'...
remote: Incorrect username or password ( access token )
fatal: Authentication failed for 'https://gitee.com/caobiandejiezhi66/shopping.git/'

这个时候需要再次输入命令:

git config --system --unset credential.helper

这样在pull或者clone的时候会再次提示让你 输入账号和密码。

扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄