macOS ◆ xterm-256color ◆ zsh 56 views

Shows usage of the git stash command.

git stash

Will put all files that are tracked and not yet committed to the stash. After this command these files will no longer appear if you do a git status .

git stash show

This will display what you have in the stash

git stash pop

This will remove all your files from the stash and set them back as tracked files in your git repo.
Note git stash apply would bring the stashed files back to your current branch and not remove them from the stash