Git reference git stash
- From
- Aron Sigfridsson <aron.sigfridsson@gmail.com>
- Date
- Mar 5, 2026, 20:07 UTC
- Message-ID
- <CAB0c_PjtTs8dWJCoUnQfCUM_YOaK3e3FcZfCgWjTOLcNWj-6nA@mail.gmail.com>
Hi!
In the reference for git stash there is a section that specifies the use of the pathspec option. It refers you to the gitglossary section about pathspec for further information. In the glossary it states: "See the documentation of each command for whether paths are relative to the current directory or toplevel"
In the documentation for git stash I can't find any information about whether it is top level or relative to current directory. Am I missing something, or is the information not there?
Thank you for your work!
Aron