Suppose you're working on something when another request comes in, and you need to stop your current work and temporarily switch branches. In this situation, committing incomplete work feels awkward. What should you do?
Apply latest stash
[Git] git stash 명령어 사용하기 - Heee's Development Blog
stash 개념과 과정을 이해한다. stash를 적용할 수 있다. stash와 관련된 git 명령어를 확인한다. 들어가기 전 자신이 어떤 작업을 하던 중에 다른 요청이 들어와 하던 작업을 멈추고 잠시 브랜치를 변경해야 할 일이 있다고 하자. 이때, 아직 완료하지 않은 일을 commit하는 것은 껄끄럽다. 어떻게 해야 될까? 아직 마무리하지 않은 작업을 스택에 잠시 저장할 수 있도록 하는 명령어이다.
https://gmlwjd9405.github.io/2018/05/18/git-stash.html
![[Git] git stash 명령어 사용하기 - Heee's Development Blog](https://gmlwjd9405.github.io/assets/img/heee.png)
A command that allows you to temporarily save unfinished work to a stack. This enables you to avoid committing incomplete work and retrieve it later to finish.
Git stash (commit하지 않고 하던 작업을 잠시 보관하는 방법)
stash는 git 명령어다. stash(넣어두다) 뜻 그대로 내가 branch에서 작업하다가 다른 branch로 옮겨가야 할 경우가 생겼을 때 commit하지 않고 잠시 작업하던 것을 보관하고 다른 branch로 넘어가는 것이다. "commit하고 나중에 다시 해당 브랜치로 왔을 때 이어서 작업하면 되는거 아니야?" 라고 생각할 수 있다. 하지만 그럴 수 없는 상황이 있다.
https://jeong-pro.tistory.com/107


Seonglae Cho