🟩 상황 Please commit your changes or stash them before you switch branches. Aborting 브랜치를 전환하기 전에 변경 사항을 커밋 또는 stash 하라고 한다. 🌿 해결 git stash working directory와 index의 현재 상태를 기록하지만, 새로 작성된 working directory로 돌아가고 싶을 때 사용 로컬 변경 사항을 저장하고 HEAD 커밋과 매치되도록 working directory를 되돌린다. 최근에 생성된 stash는 refs/stash에 저장된다. 오래된 stash들은 reflog에서 찾을 수 있다. 🤗 알면 좋은 것 git stash list stash된 목록을 볼 수 있다. stash@{0}이 가장 최근, s..