반응형
hint: You have divergent branches and need to specify how to reconcile them.
hint: You have divergent branches and need to specify how to reconcile them.
you can do so by running one of the following commands sometime before your next pull
...
해당 브랜치에서 remote branch에서 업데이트된 내용을 local branch에 가져오려고 'git pull' 또는 'git fetch'를 할 때
이런 에러가 날 때가 있다.
해당 에러는 로컬 브랜치에서 아직 변경한 내용이 남겨져서 그럴 수도 있다
해결: git config pull.rebase true
git config pull.rebase true
git pull
git pull 하기 전에 'git config pull.rebase true' 를 실행하면 된다.
그 전에 로컬 내용이랑 충돌 나지 않도록 merge 및 store 등을 다 처리해야한다
반응형