Cute Happy Ghost
본문 바로가기
etc/git

error: Committing is not possible because you have unmerged files. 깃 unmerged file삭제하기

by JENN_tech7 2020. 11. 18.
728x90
SMALL

어제 강제푸쉬를 했는데 또 unmerged files있다고 푸쉬가 안된다

차암내

어제는 됐는데 또 오늘은 왜 안돼!!!근데 맨날 강제푸쉬할 수는 없으니까 다시 찾아보기로했다

 

 

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       20201116/index.html

 

근데 얘네는 친절해서 힌트도 준다ㅋㅋㅋ

git add/rm <file>을 하라네

그래서 그냥 20201116으로 이동해서 index.html파일을 삭제해버렸다

 

 

 

 

C:\Users\wotjd\Frontend\20201116>git rm index.html
rm '20201116/index.html'

원래 tab키를 누르면 파일이 나오는데 index.html저 파일은 내가 삭제해버려서 안나왔었다

그래서 그냥 수동으로 쳤는데 혹시 삭제안될까봐 조마조마했다  ...

근데 rm됐다고 뜬것 같아서 20201118로 들어가서 오늘 한 거 푸쉬했더니 됐다

근데 문제는..

 

 

16일날꺼는 login view practice가 아니란말이야 ㅠ_ㅠ

오늘꺼만 저렇게 나왔어야했는데.... 그래도 ... 됐으니 어쩔수없ㅈㅣ....

728x90
LIST

'etc > git' 카테고리의 다른 글

git repository삭제  (0) 2020.12.03
깃명령어, 에러정리  (0) 2020.11.18
! [rejected] main -> main (fetch first)error: failed to push some refs to 에러, 강제push명령어  (0) 2020.11.17
git_please tell me who you are  (0) 2020.11.11
gitignore  (0) 2020.11.10

댓글