diff options
author | yicai <yicai.cyj@taobao.com> | 2011-04-23 12:21:07 +0400 |
---|---|---|
committer | Matthew McCullough <matthew@github.com> | 2012-10-01 20:14:19 +0400 |
commit | 5baac9cfcb1df16774b4a38c6ea6961f7fa967b0 (patch) | |
tree | 4eba6c6753484cad2f2a2ddbd792cb3bc984829b | |
parent | 79ba115ffb51ebc04266f09f964e8f9569df0101 (diff) |
fix typo; ignore .DS_Store
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | zh/basic/index.html | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -1,3 +1,5 @@ _site *~ \.*.swp +.gitignore +.DS_Store diff --git a/zh/basic/index.html b/zh/basic/index.html index 6626a71..c4d2eb2 100644 --- a/zh/basic/index.html +++ b/zh/basic/index.html @@ -458,7 +458,7 @@ nothing to commit (working directory clean) 1 files changed, 2 insertions(+), 1 deletions(-) </pre> - <p>注意,如果您如果您不缓存改动,直接执行 <code>git commit</code>,Git 会直接给出 <code>git status</code> 命令的输出,提醒您啥也没缓存。我已将该消息中的重要部分高亮,它说没有添加需要提交的缓存。如果您使用 <code>-a</code>,它会缓存并提交每个改动(不含新文件)。 + <p>注意,如果您不缓存改动,直接执行 <code>git commit</code>,Git 会直接给出 <code>git status</code> 命令的输出,提醒您啥也没缓存。我已将该消息中的重要部分高亮,它说没有添加需要提交的缓存。如果您使用 <code>-a</code>,它会缓存并提交每个改动(不含新文件)。 </p> <p> @@ -562,7 +562,7 @@ M hello.rb </p> <h4> - git mv + git rm <small>git rm --cached orig; mv orig new; git add new</small> </h4> |