0

I am all of a sudden having trouble doing a push (i.e. git push origin master). When I do I get prompted for my personal access token which is not expired (I double checked). Once I log in, then I get the error:

remote: Repository not found

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

I tried git remote set-url origin https://github.com/username/repo-name which produced no errors but when I try the push again it the same thing as above happens.

Any help would be much appreciated. Thanks

user2382321
  • 105
  • 1
  • 10

1 Answers1

0

I found this answer: Git - remote: Repository not found

I needed to check the write:packages. I forgot to do that when I created my new PAT.

user2382321
  • 105
  • 1
  • 10
  • then you shouldn't make that an answer. Your question is a duplicate. When users pollute stack overflow with duplicate questions, it make it harder for people to find existing answers to their questions. You should always exhaust existing questions before adding a new one. – Inigo Dec 07 '21 at 20:13