The [docs](https://git-scm.com/docs/git-stash) and an [Atlassian tutorial](https://www.atlassian.com/git/tutorials/saving-changes/git-stash) ## Stashing ```bash git stash ``` moves working directory to stash. Then you are safe to `git pull`. ## Seeing diff between current and stash See [this stackoverflow question](https://stackoverflow.com/questions/7677736/git-diff-against-a-stash) ```bash git stash show -p ``` or for a specific stash ```bash git stash show -p stash@{1} ``` ## Discarding stash ```bash git stash drop ``` or ```bash git stash drop stash@{1} ```