◈ Welcome
○ TIL: Git stash specific files.md
← All Notes
○ notes/til:-git-stash-specific-files

TIL: Git stash specific files

| ◇ notes

You can stash specific files instead of everything.

git stash push -m "message" path/to/file.js

Useful when you want to stash just one file while keeping other changes.