Skip to content

Commit 358cdbb

Browse files
authored
Merge pull request #329 from sky-stroller/10-git-internals
Add a missed step.
2 parents 92d4765 + 2e8dda4 commit 358cdbb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

book/10-git-internals/sections/objects.asc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,8 @@ tree
188188
[source,console]
189189
----
190190
$ echo 'new file' > new.txt
191+
$ git update-index --cacheinfo 100644 \
192+
1f7a7a472abf3dd9643fd615f6da379c4acb3e3a test.txt
191193
$ git update-index test.txt
192194
$ git update-index --add new.txt
193195
----

0 commit comments

Comments
 (0)