git stash

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

git stash push --message {{optional_stash_message}}

git stash --include-untracked

git stash --patch

git stash list

git stash show --patch {{stash@{0}}}

git stash apply {{optional_stash_name_or_commit}}

git stash pop {{optional_stash_name}}

git stash clear