728x90
반응형
오류 문구
error: Committing is not possible because you have unmerged files.
hint: Fix them up in the work tree, and then use 'git add/rm <file>'
hint: as appropriate to mark resolution and make a commit.
fatal: Exiting because of an unresolved conflict.
U Day_17_18_19/src/movieController.js
U Day_17_18_19/src/movieRouter.js
U Day_17_18_19/src/views/edit.pug
상황
Day_23 디렉토리에 템플릿을 추가하고 커밋을 하려고 했더니 해당 오류가 발생했다.
해결
U 체크된 파일들에서 충돌이 난 것이므로 해당 파일을 열어서 충돌 난 부분을 삭제하거나 수정한다.
<<<< HEAD
pull 받은 코드
=========
기존 코드
>>>>
728x90
반응형
'Git' 카테고리의 다른 글
[오류 해결] fatal: refusing to merge unrelated histories (0) | 2021.01.25 |
---|---|
[오류 해결] failed to push some refs to ‘저장소주소’ (0) | 2021.01.23 |
[linux / mac os] 깃 연동 - 자주 사용하는 git 명령어 추가 (0) | 2020.07.02 |
[linux / max os] ssh key 발급 (0) | 2020.07.02 |
Visual Studio와 Github 연동 (0) | 2020.06.20 |