11

I was wondering if anyone has faced this problem. I have created a Personal Access Token following this, and also gave full repo access to the access token.

I am able to clone the repo down via:

git clone https://<Personal Access Token>@github.com/<Org name>/<Repo_name>.git

But I am unable to push it gives me the error:

remote: Repository not found.
atal: repository 'https://<Personal Access Token>@github.com/<Org name>/<Repo_name>.git/' not found

Running git remote -v gives:

origin  https://<Personal Access Token>@github.com/<Org name>/<Repo_name>.git (fetch)
origin  https://<Personal Access Token>@github.com/<Org name>/<Repo_name>.git (push)

Please let me know if you need more information.

YellowPillow
  • 4,100
  • 6
  • 31
  • 57
  • 1
    Possible duplicate of [Git Push ERROR: Repository not found](https://stackoverflow.com/questions/10116373/git-push-error-repository-not-found) – jojo May 09 '19 at 05:54
  • What command are you using to push? `git push ...` – jojo May 09 '19 at 05:55
  • 6
    Don't worry... I figured it out the account with the access token only had read access... – YellowPillow May 09 '19 at 05:56

1 Answers1

9

The PO answered the question in a comment above:

Don't worry... I figured it out the account with the access token only had read access...

YesThatIsMyName
  • 1,585
  • 3
  • 23
  • 30