Quick Actions
git stash
Description
Stash the changes in a dirty working directory away.
Command
git stash
Examples
Stash changes
git stash
Stash with message
git stash push -m "Work in progress"
Apply stash
git stash pop
List stashes
git stash list
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
push |
string | No | Push new stash |
pop |
string | No | Apply and remove stash |
apply |
string | No | Apply stash without removing |
list |
string | No | List stashes |
drop |
string | No | Remove stash |
Command Info
Category:
Stashing
Type:
Git
Views:
7
Status:
Active
Tags
stash
save
temporary