Backlog uses cookies to deliver our services. By visiting our website, you agree to the use of cookies as described in our Cookie Policy.

Stash my current change temporarily

$ git stash save

You may choose to omit "save". If you do specify "save", you can enter a message to label the stash content (eg. git stash save "making a big change").

View my stash list

$ git stash list

Recover a change from stash

$ git stash pop

By just calling "git stash pop", the latest stash will be restored on your current work.

Assigning a parameter of the stash ID (eg. stash@{1}) will restore this specific stash to your current work.

Delete a stash

$ git stash drop

By just calling "git stash drop", the latest stash will be deleted.

Assigning a parameter of the stash ID (eg. stash@{1}) will delete this specific stash.

Delete all stashes

$ git stash clear