개발/Git🛠️
-
[GIT CHECKOUT ERROR] - the following untracked working tree files would be overwritten by checkout: (20.04.06)개발/Git🛠️ 2023. 7. 24. 00:17
git branch로 작업하다가 commit하고 checkout 하려고 하니 에러가 발생함ㅠㅠ git에 올리지 말아야 할 것들을 올려서 일어남.. (왜 그랬을까..ㅜㅜ) 이럴 경우.. 터미널 이용해서 풀면 해결됨! [에러메세지] error: The following untracked working tree files would be overwritten by checkout: ...(문제되는 파일들 나열) Please move or remove them before you switch branches. Aborting git fetch --all git reset --hard [브런치 이름] [참고] https://yenaworldblog.wordpress.com/2018/02/28/git-check..