[이슈] Not possible to fast-forward, aborting.

HwangBaco·2023년 5월 22일
0

원인

git config pull.ff only 를 통해 pull의 기본 옵션을 ff-only로 설정해놓은 경우 발생.

해결

git pull --rebase 로 해결

만약 conflict 발생하면,

  1. conflict가 발생한 파일에서 충돌 요소를 수정

  2. 수정사항을 git add, git commit 하고

  3. 그 다음 git rebase —continue 로 rebase를 마무리

그럼 이제 다시 git push 를 하면 된다!


출처

profile
https://hwanghub.tistory.com/ 로 넘어갑니당

0개의 댓글