摘要:
文件自修改后还没有被放到暂存区,现在,撤销修改就回到和版本库一模一样的状态. 1.删除最后一行内容: viREADME.md cat README.md the first ... the second ... 2.执行命令 $ git status On branch dev Chang 阅读全文
摘要:
1.代码修改并提交 现在,运行 命令看看结果: $ git status On branch dev Changes not staged for commit: (use "git add ..." to update what will be committed) (use "git check 阅读全文