O
O
Ogurchik-0072021-07-27 06:21:19
git
Ogurchik-007, 2021-07-27 06:21:19

I don’t understand why pushing to git is not done?

After the push command, the push gives the following message ERROR: Permission to htmlacademy-adaptive/1841101-pink-23.git denied to Ogurchik-007.
fatal: Could not read from remote repository.

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

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton Popov, 2021-07-27
@ademaro

You cloned from the main repository (where you can only make pull requests), but you should have cloned from your fork (which has write access).
You need to delete the remote academy repository git remote rm origin, add your own:

git remote add origin [email protected]:Ogurchik-007/1841101-pink-23.git
and add a remote academy repository with a different name:
git remote add academy https://github.com/htmlacademy-adaptive/1841101-pink-23.git
(in order to collect up-to-date data that the cakebot will send)
In general, you have a mentor, you can clarify such questions with him, I think he will tell you everything in more detail))

A
Alexey Yarkov, 2021-07-27
@yarkov

Is someone trying to push into someone else's repository? ))

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question