使用Git遇到的权限问题

  • Access denied

问题现场:

Cloning into 'project_name'...
remote: HTTP Basic: Access denied
fatal: Authentication failed for 'http://[email protected]/my_user_name/project_name.git/'

解决:
输入一行命令:git config --system --unset credential.helper
之后再进行git操作时,弹出用户名密码窗口,输入即可

参考:https://stackoverflow.com/questions/44514728/http-basic-access-denied-fatal-authentication-failed

你可能感兴趣的:(使用Git遇到的权限问题)