From 5a605a9359f865cdee5d01b41c61dbb65b89486c Mon Sep 17 00:00:00 2001 From: mygaochunming <88583001@163.com> Date: Tue, 13 Jun 2017 10:10:39 +0800 Subject: [PATCH 1/5] Create index-zh-cn.html --- index-zh-cn.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index-zh-cn.html b/index-zh-cn.html index 84f92f0..ac1b735 100644 --- a/index-zh-cn.html +++ b/index-zh-cn.html @@ -74,7 +74,7 @@

基本用法

  • git reset -- files 用来撤销最后一次git add files,你也可以用git reset 撤销所有暂存区域文件。
  • -
  • git checkout -- files 把文件从暂存区域复制到工作目录,用来丢弃本地修改。
  • +
  • git checkout -- files 把文件从暂存区域复制到工作目录,用来丢弃本地修改。如果本地修改后没有添加到暂存区,则丢弃本地修改回到和版本库一模一样的状态
  • From e10fb5e5af7fe66ffe47043bfee83688f5517b45 Mon Sep 17 00:00:00 2001 From: mygaochunming <88583001@163.com> Date: Tue, 13 Jun 2017 14:29:52 +0800 Subject: [PATCH 2/5] modify the description of 'git commit -a' --- index-zh-cn.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index-zh-cn.html b/index-zh-cn.html index ac1b735..0eb9406 100644 --- a/index-zh-cn.html +++ b/index-zh-cn.html @@ -87,8 +87,8 @@

    基本用法