D
D
Denis Bukreev2017-08-17 12:02:38
git
Denis Bukreev, 2017-08-17 12:02:38

Git does not pull or push - what to do?

So it goes.
I'm trying to pull changes to the server and I get:
ea188077cf974dcd93394ab4f22cf571.png
a veil of files
Ok. I make a commit, I try to pull again - the same thing, but the veil has become much smaller
. I push and I get:
bdcf2dba00c24112b17cd3f844fce9c9.png
also an error
. And it’s not clear what to do with it in the end. Neither there nor here.
Ples, help
Now he writes this (on the server):
76f1a46a88bc4075b1e02b35c99fc71f.png

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sly_tom_cat ., 2017-08-17
@Sly_tom_cat

Well, they write to you in black in English: merge will wipe you a crowd of files (not tracked).

A
Alexander Manakov, 2017-08-17
@gogolor

Branching and merging
basics Someone pushed the server before you.
Put some kind of graphical client - it will be more clear to you what is happening

X
Xeli, 2017-08-17
@Xeli

Try it like this

git pull <псевдоним удаленного сервера> --allow-unrelated-histories
. Then, as you complete the merge git push, it should already pass without problems.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question