git stash single file
Snippet
Posted by kitt at 13:20 on 31 May 2023
If you want to stash a single file, and not the whole change set. use --
See also View Git Stash Contents Without Applying to Codebase
Of note, this will stash staged changes, too, even if you dno't specify them in the --
$ git stash -- filename.ext
Add new comment