0

When I'm cloning a repository from my account this error show up. Also, I can't push to anything to my repositories.

remote: Repository not found.
fatal: repository 'https://github.com/username/repo-name.git/' not found

after I generate an access token from GitHub issue is still occurring to me.

commands that I used

git clone https://<token>@github.com/username/repo.git

git push https://<token>@github.com/username/repo.git

I'm using

  • VS Code - version 1.62.3

  • OS - Ubuntu 20.04.03 LTS

Please anyone can guide me to solve this problem?

torek
  • 448,244
  • 59
  • 642
  • 775
avishka
  • 171
  • 1
  • 5
  • 19
  • 1
    To *really* solve the problem, avoid VSCode. To get around it, upgrade or downgrade VSCode, because a bunch of recent versions are broken. – torek Nov 19 '21 at 06:38
  • 1
    Does this answer your question? [Git authentication with GitHub fails, remote: No anonymous write access](https://stackoverflow.com/questions/69948454/git-authentication-with-github-fails-remote-no-anonymous-write-access) – torek Nov 19 '21 at 06:40
  • What exact version should I downgrade? @torek – avishka Nov 19 '21 at 07:02
  • VSCode - see the link. – torek Nov 19 '21 at 07:58
  • I downgrade looked after that. but the issue is still the same. Now Only the option exists for me git pushing or clone directly from the terminal. @torek – avishka Nov 19 '21 at 08:09

0 Answers0