R
R
run1822021-03-02 11:59:29
git
run182, 2021-03-02 11:59:29

Why does git push -u origin return Repository not found?

There are several files in the directory in which I work. I execute the commands in sequence:

git init
git add --all
git commit -m "init"
git remote add origin [email protected]:acc/repo.git
git push -u origin


The last command returns:
ERROR: Repository not found.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.


Why does it occur and how to solve it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
run182, 2021-03-02
@run182

There was a problem with ssh - the same key was saved in another github account.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question