오몰내알 데엔

개발/Git&Github

git checkout시 발생하는 오류 error: Your local changes to the following files would be

❗에러 git checkout 시 발생하는 에러 📑에러 내용 error: Your local changes to the following files would be overwritten by checkout: ... Please commit your changes or stash them before you switch branches. Aborting ❓발생 이유 다른 브랜치로 이동하기 전 작업하고 있던 브랜치에서 변경사항이 있는데, 제대로 커밋(저장)하지 않아 발생하는 오류이다. 💡해결 방법 사실 오류 메시지에 해결 방법이 이미 나와있다. Please commit your changes or stash them before you switch branches. 해당 브랜치를 커밋(commit)하거나 ..