본문 바로가기
Git

[Git] Untracked Files Precent Merge 오류 (git update project 안됨)

by 동사무소장 2023. 7. 19.

'Reset Current Branch to Here' 명령으로 git commit 포인트를 옮겼다가

다시 현재 위치로 되돌아가서 update 하려니까 난 오류

 

 

에러

Untracked Files Prevent Merge

Move or commit them before merge

 


해결방법

 

git 로컬 저장소 - git bash 실행 - git clean -d -f -f 명령어

git -d -f -f

이렇게 하고 git update 하니까 정상적으로 됨!

 

 

 

참고 : https://kwonyeeun.tistory.com/23