Skip to content

Commit 20156cd

Browse files
authored
Merge pull request #1738 from sivaraam/patch-1
ch-10: avoid unnecessary mention update-index's --add
2 parents 239cf2d + ce02ecd commit 20156cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ You'll now create a new tree with the second version of `test.txt` and a new fil
202202
[source,console]
203203
----
204204
$ echo 'new file' > new.txt
205-
$ git update-index --add --cacheinfo 100644 \
205+
$ git update-index --cacheinfo 100644 \
206206
1f7a7a472abf3dd9643fd615f6da379c4acb3e3a test.txt
207207
$ git update-index --add new.txt
208208
----

0 commit comments

Comments
 (0)