DEV Community

Discussion on: Dec. 13, 2019: What did you learn this week?

Collapse
 
nickytonline profile image
Nick Taylor

This week, I learnt that you can stash one file instead of all files. I figured it was possible, but never really had a need to do it until this week.

git stash push -- path/to/your/file/your-file.extension
Collapse
 
mjraadi profile image
Mohammadjavad Raadi

Interesting. The other day I learned that you can checkout a single file from another branch to the current branch you're working on.