How to solve Access denied in gitlab?

2019-06-18 16:16发布

When I run : git push, there is exist error like this :

remote: Access denied
fatal: unable to access 'https://gitlab.com/myname/mysystem.git/': The requested URL returned error: 403

Is there any people who can help me?

标签: git gitlab
4条回答
太酷不给撩
2楼-- · 2019-06-18 17:02

if you made your account by signing in with Github or Bitbucket, etc. add a password to your account so you can push, pull and clone with Gitlab.

查看更多
Emotional °昔
3楼-- · 2019-06-18 17:10

You need to add an SSH key to your GitLab and make sure git is using that key.

You can find this documentation helpful.

查看更多
劫难
4楼-- · 2019-06-18 17:20

What might help is

git config --system --unset credential.helper

then enter new password for Git remote server.

查看更多
够拽才男人
5楼-- · 2019-06-18 17:23

For Windows users, check this unbelievable easy solution, which works for me:

Go to Windows Credential Manager (press Windows Key and type 'credential') to edit the git entry under Windows Credentials. Replace old password with the new one.

查看更多
登录 后发表回答