1.单个文件恢复到历史某个版本
git reset commit filename
git checkout -- filename
2.分支比较
git diff branch1 branch2
1.单个文件恢复到历史某个版本
git reset commit filename
git checkout -- filename
2.分支比较
git diff branch1 branch2
9497

被折叠的 条评论
为什么被折叠?