1
0
Fork 0

fix typo; ignore .DS_Store

This commit is contained in:
yicai 2011-04-23 16:21:07 +08:00
parent ffaf6091b1
commit 14a6ebda0f
2 changed files with 4 additions and 2 deletions

2
.gitignore vendored
View File

@ -1,3 +1,5 @@
_site
*~
\.*.swp
.gitignore
.DS_Store

View File

@ -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>