git stashgit stash save
git stash --include-untrackedgit stash -u
git stash list
git stash showgit stash show -pgit stash show -ugit stash show --include-untrackedgit stash show -p -ugit stash show -p --only-untracked
git stash show stash@{1}git stash show stash@{1} -pgit stash show stash@{1} -ugit stash show stash@{1} --include-untrackedgit stash show stash@{1} --only-untracked
git stash popgit stash applygit stash apply stash@{1}
git stash cleargit stash drop stash@{2}
git stash branch <branch_name>git stash branch <branch_name> stash@{revision}
Adding to this list commands to name a stash and retrieve stash by name ... it can be done like so:
name a stash:
git stash push -m "named-stash"retrieve a stash by name:
git stash apply stash^{/named-stash}