使用git clone出现这个问题怎么解决

Username for 'https://github.com':
Password for 'https://wei@github.com':
remote: Invalid username or password.
fatal: Authentication failed for 'xxxx'

第一种可能 git项目地址不对。
还有可能,这个现象见的比较多, 本地的配置和远程的配置对应不上,可以进入dos查看git配置:
git config --global --list 然后对比一下远程git的设置--key设置,查看账号和key是否和本地ssh一致,如果不相同建议重新配置一下git