Stash

git stash

Stashes current changes.

git  stash --all

Stashes ALL changes - even the untracked ones! CAREFULL.

(save)

Saves the current changes and brings the repo state to default.

-u

?untracked?

apply

Applies the saved stash.

DOES NOT REMOVE from the stash, use pop.

pop

Apply and remove from stash (if successful).

stash@{<N>}

?Particular?

drop

Deletes topmost stash.

Clear.

show -p stash@{<N>}

N:0….

Powershell: ‘{‘ or `{.

list

Show list.

show

Show files in latest stash.

-p

Show contents as well.

stash@{<N>}

Show of particular stash.

Updated: 2026 Aug 19