Git: updates were rejected because the remote contains work that you do not have locally?

1

на комманде - "git push -u origin master",

выдает вот такую вот петрушку:

failed to push some refs to 'https://[email protected]/____/kinomonster.git'
Updates were rejected because the remote contains work that you do
not have locally. This is usually caused by another repository pushing
to the same ref. You may want to first integrate the remote changes
(e.g., 'git pull ...') before pushing again

все действия по далнейшим инструкциям заканчиваются тем же,

какие изменения интегрировать моя не понимай. подскажите пожалуйста кто в курсе.

git

2 ответов

4

commit и pull до этого делали?

Если да, попробуйте:

git pull --rebase origin master
git push origin master
2

есть! спасибо большое!

Sign up or Log in to write an answer