git stash

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

git stash push -m optional_stash_message

git stash -u

git stash -p

git stash list

git stash show -p stash@{0}

git stash apply optional_stash_name_or_commit

git stash pop optional_stash_name

git stash clear