0

I am working in RStudio and I cloned a project lately (using my personal access token, with read_repository and write_repository permissions). When I want to push my changes to the gitlab repository, I get an error:

remote: HTTP Basic: Access denied remote: You must use a personal access token with 'read_repository' or 'write_repository' scope for Git over HTTP. remote: You can generate one at https://test.com/-/profile/personal_access_tokens fatal: Authentication failed for 'https://test.com/test/test.git/'

Why is the private token not woking anymore? I did not change anything.

TRK
  • 3
  • 3
  • What does `git remote -v` show? Is your token really used? The remote should look like `https://:@test.com` – jschnasse Mar 30 '22 at 15:01
  • Duplicate to https://stackoverflow.com/questions/42074414/gitlab-push-to-a-repository-using-access-token ? – jschnasse Mar 30 '22 at 15:08

0 Answers0