git stash

Category: Git - Core

git stash

Temporarily save uncommitted changes to the stash

Saves all your uncommitted changes to a temporary stash so you can switch branches with a clean working directory.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.