Cloning directly from a repo ... get an error when clicking

Cloned repo, commited, and when I go to click, I get an error:

remote: Repository not found. fatal: repository 'https://github.com/USER/REPO.git/' not found

Does anyone have an idea what could be causing this? I checked the remote and that is correct (I cloned and did not touch it after).

+1
source share
4 answers

I tried adding the file to the repo directly from Github (via the add file button), and I was told that I do not have write access ... the problem is solved!

+1
source

In case you are trying to unlock another repo:

fork it (on github using a browser) and then go to your github and fork account. The clone that (use the button in the browser) and git clone that repo .

+1
source

I ran into a similar issue when cloning a repo. Below is the error message

"ERROR: repository not found. Fatal: Failed to read from the remote repository.

Please make sure you have the correct permissions. "

I changed the clone url to https and it worked for me.

0
source

In my case, it was always a resolution problem that led to this error. Here are the steps to add permission to the user,

  1. Log in to GitHub as an administrator
  2. Click on the link "Your profile" in the "Icon" menu in the upper right corner.
  3. Click on the organization icon displayed on the left.
  4. Click on the People tab.
  5. Click on the appropriate user link
  6. Change read right to write right
0
source

Source: https://habr.com/ru/post/958051/


All Articles