Answers for "stash 1 file in commit in git"

3

git stash one file

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

how to apply changes in a single file from stash

git restore -s stash@{0} -- <filename>
Posted by: Guest on November-16-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language