新安装的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输入错误密码后 无法自动让你重新输入密码,一直报错:
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的时候会再次提示让你 输入账号和密码。