M
M
Matvey Ptushkin2020-02-03 14:58:55
git
Matvey Ptushkin, 2020-02-03 14:58:55

Why doesn't git push -u origin master work when a README file is created in the new repository?

5e380a829e3ad189780430.jpeg5e380a875ffc1551362590.jpeg5e380a8ba85f2141505482.jpeg5e380a91cdd7a819727086.jpeg

To make the problem more understandable, I made successive screenshots.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2020-02-03
@Matwey_Ptushkin

You have different versions of the repositories, you created one locally and the second one remotely - they have different IDs. Sisiema thinks that your local rap is a completely different rap.
It was necessary to download a remote empty rap to a folder and add files and then make a commit with the addition of these files and only then upload.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question