How to unstash only certain files?

后端 未结 7 974
醉梦人生
醉梦人生 2020-12-04 04:29

I stashed my changes. Now I want to unstash only some files from the stash. How can I do this?

相关标签:
7条回答
  • 2020-12-04 05:14

    I think VonC's answer is probably what you want, but here's a way to do a selective "git apply":

    git show stash@{0}:MyFile.txt > MyFile.txt
    
    0 讨论(0)
提交回复
热议问题