ThatDev.Shparki

Today I Learned

TIL: Git stash specific files

git til

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.