git-stash
Stash local Git changes in a temporary area. tldr-pages
On several platforms
Several platforms
Stash the current uncommitted changes
git stashIdentifyStash current changes, including new untracked files
git stash --include-untrackedIdentifyInteractively select parts of changed files for stashing
git stash --patchIdentifyList all stashes
git stash listIdentifyShow the changes as a patch between the stash and the commit back when stash entry was first created
git stash show --patchIdentifyApply a stash and remove it from the stash list if applying doesn't cause conflicts
git stash popIdentifyDelete the latest stash
git stash dropIdentifyDelete all stashes
git stash clearIdentify