Commands.app

git stash

Workflow

Stash changes in a dirty working directory

Examples
Common usage examples

Stash current changes

git stash

Apply and remove stashed changes

git stash pop

List all stashes

git stash list

Remove most recent stash

git stash drop
Notes
  • Useful for temporarily setting aside changes