1. Git Shelve - 잠시 다른데 다녀올거니까. 작업하던 거 선반에 올려두자!
git shelve를 하면 해당 Branch의 임시 저장소에 저장된다.
현 branch의 변경사항을 들고, 다른 branch에 놔두는 행위를 못한다.
해당 브랜치에 작업 하던 것을 임시 저장하고, 다른 branch에서 일 본 뒤에 다시 돌아와서 unshelved 하면 된다.

임시저장한 거 빼내 오려면

저걸 눌러서 다시 changes로 들고와야 한다.
unshelved 했다고 해서 shelf에 저장된 임시 저장 내역이 사라지지 않는다. 없애고 싶다면 삭제하자.
2. git stash / unstash - 현 branch에서 작업한 내역 들고 다른 branch로 갈래. 거기서 작업 계속 이어 갈래
Intellij 에서는 git -> uncommited changes 에서 할 수 있다.
0