摘要:
场景1:修改了文件/path/to/file,没有提交,但是觉得改的不好,想还原。解决:git checkout -- /path/to/file 场景2:修改了文件/path/to/file,已经提交,但是觉得改的不好,想还原到上衣版本。解决:1. 首先查看文件的历史版本。git log /pat 阅读全文
posted @ 2020-11-20 10:45
FL1188
阅读(1373)
评论(0)
推荐(0)
浙公网安备 33010602011771号