문제

Whenever I try and to commit changes to my github repo I get this error.

To git@github.com:antarr/3skeleton.git
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to 'git@github.com:antarr/3skeleton.git'
To prevent you from losing history, non-fast-forward updates were rejected
Merge the remote changes (e.g. 'git pull') before pushing again.
See the 'Note about fast-forwards' section of 'git push --help' for details.

If I do git pull first, it changes some of the files on my machine. Which kind of defeats the purpose.

올바른 솔루션이 없습니다

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top