> For the complete documentation index, see [llms.txt](https://ploegert.gitbook.io/til/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ploegert.gitbook.io/til/tools/git/staging-stashes-interactively.md).

# Staging Stashes Interactively

The `-p` flag can be used with `git stash`, just as it is used with `git add`, for interactively staging a stash.

So, if you have changes in your working tree that you want to stash mixed with ones that you want to keep working with, then you can simply do:

```
git stash -p
```

Read more on [interactive staging](https://git-scm.com/book/en/v2/Git-Tools-Interactive-Staging).
