git stash

Stash local Git changes in a temporary area. More information: https://git-scm.com/docs/git-stash.

git stash push {{[-m|--message]}} {{optional_stash_message}}

git stash {{[-u|--include-untracked]}}

git stash {{[-p|--patch]}}

git stash list

git stash show {{[-p|--patch]}} {{stash@{0}}}

git stash apply {{optional_stash_name_or_commit}}

git stash pop {{optional_stash_name}}

git stash clear