0

git 恢复指定文件回退到某个版本或者提交

sky created at6 years ago view count: 2509
report
回复
0

回退到某次commit

git checkout c5f567 -- file1/to/restore

回退到某个分支

git checkout branch_name file1/to/restore
6 years ago 回复