! [отклонено] master -> master (fetch first) при проталкивании в git
После серьезных изменений в политике я использовал SSH-ключ. Все шло хорошо, пока не были внесены изменения.
Теперь, когда я пытаюсь продвинуть свои изменения, выскакивает эта ошибка :(
)! [rejected] master -> master (fetch first) error: failed to push some refs to 'github.com:kohenm63/phone_book.git' hint: Updates were rejected because the remote contains work that you do hint: not have locally. This is usually caused by another repository pushing hint: to the same ref. You may want to first integrate the remote changes hint: (e.g., 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details.
"Эта ветвь на 3 коммита впереди, на 3 коммита позади основной".
для меня это имеет смысл.
использовал "force" =>git push origin master --force но это похвально только когда в проекте 1 человек, что в моем случае относится...
Спасибо всем за ваш добрый вклад!