본문으로 이동

깃:에러

학교의 모든 지식. SMwiki

각종 에러 모음

Pulling without specifying how to reconcile divergent branches is discouraged........

[편집 | 원본 편집]

pull로 땡길 때 다양한 방식이 생겨났는데, 이 방식을 명확하게 해달라는 내용의 에러이다.

git config pull.ff only 혹은 git config --global pull.ff only 명령을 실행해준다.

Fatal: Not possible to fast-forward, aborting.

[편집 | 원본 편집]

git pull --rebase

Please commit your changes or stash them before you merge. Aborting

[편집 | 원본 편집]

한 가지에 대해 여러사람이 작업한 경우; pull로 땡겨와야 하지만, 서버에서 별도의 작업이 이루어진 경우 발생한다.

git stash 후에 git pull을 하면 된다.