Answers for "how to stash git a specific file"

3

git stash one file

git stash save -- just_my_file.txt
Posted by: Guest on February-19-2021
1

git stash apply specific file

git diff stash^! -- path/to/relevant/file/in/stash.ext perhaps/another/file.ext > my.patch
git apply < my.patch
Posted by: Guest on November-18-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language