git撤销文件的修改
摘要:git撤销某个文件的修改,分为两种情况:1.在工作区修改,但并未提交到暂存区(即并没有add)。对于单个文件的撤销修改而言,使用下面方法。 $ git checkout -- 文件名 若想撤销工作区中所有文件的修改,则 $ git checkout . 来源: https://blog.csdn.n
阅读全文
posted @ 2021-06-05 18:04
posted @ 2021-06-05 18:04
posted @ 2021-06-05 17:07