We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f0cf3f commit 6d90fc5Copy full SHA for 6d90fc5
book/10-git-internals/sections/objects.asc
@@ -188,9 +188,8 @@ You'll now create a new tree with the second version of `test.txt` and a new fil
188
[source,console]
189
----
190
$ echo 'new file' > new.txt
191
-$ git update-index --cacheinfo 100644 \
+$ git update-index --add --cacheinfo 100644 \
192
1f7a7a472abf3dd9643fd615f6da379c4acb3e3a test.txt
193
-$ git update-index test.txt
194
$ git update-index --add new.txt
195
196
0 commit comments