描述:
localhost:exa_automation susanie$ git clone https://github.com/**********
Cloning into '********** '...
Username for 'https://github.com': susanie
Password for 'https://susanie@github.com':
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/Exabeam/**********/'
通过修改用户名和密码,重新生成ssh key 都不起作用。
解决方法:
- 生成token
- 保存密码
命令:git config --global credential.helper store
再次克隆代码库,在输入密码的地方输入你的token就可以了。