How can I restore an uncommited file between branches?
This question already has an answer here:
如果你在branch2上并想要像在branch1中那样恢复aaa.py,你可以这样做
git checkout branch1 -- path/to/aaaa.py
链接地址: http://www.djcxy.com/p/8976.html
上一篇: 如何在git中重置特定文件?