git stash

Creator
Creator
Seonglae ChoSeonglae Cho
Created
Created
2020 May 6 6:0
Editor
Edited
Edited
2025 Oct 20 16:46
Refs
Refs
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

 
 
 
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.
 

Recommendations