Skip to content

Commit 5baac9c

Browse files
cyjakeMatthew McCullough
authored andcommitted
fix typo; ignore .DS_Store
1 parent 79ba115 commit 5baac9c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
_site
22
*~
33
\.*.swp
4+
.gitignore
5+
.DS_Store

zh/basic/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ <h4>
458458
1 files changed, 2 insertions(+), 1 deletions(-)
459459
</pre>
460460

461-
<p>注意,如果您如果您不缓存改动,直接执行 <code>git commit</code>,Git 会直接给出 <code>git status</code> 命令的输出,提醒您啥也没缓存。我已将该消息中的重要部分高亮,它说没有添加需要提交的缓存。如果您使用 <code>-a</code>,它会缓存并提交每个改动(不含新文件)。
461+
<p>注意,如果您不缓存改动,直接执行 <code>git commit</code>,Git 会直接给出 <code>git status</code> 命令的输出,提醒您啥也没缓存。我已将该消息中的重要部分高亮,它说没有添加需要提交的缓存。如果您使用 <code>-a</code>,它会缓存并提交每个改动(不含新文件)。
462462
</p>
463463

464464
<p>
@@ -562,7 +562,7 @@ <h2>
562562
</p>
563563

564564
<h4>
565-
git mv
565+
git rm
566566
<small>git rm --cached orig; mv orig new; git add new</small>
567567
</h4>
568568

0 commit comments

Comments
 (0)