We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 13bf260 + 388d0ff commit 7d91699Copy full SHA for 7d91699
Documentation/git-update-index.txt
@@ -245,10 +245,10 @@ USING --CACHEINFO OR --INFO-ONLY
245
current working directory. This is useful for minimum-checkout
246
merging.
247
248
-To pretend you have a file with mode and sha1 at path, say:
+To pretend you have a file at path with mode and sha1, say:
249
250
----------------
251
-$ git update-index --cacheinfo <mode>,<sha1>,<path>
+$ git update-index --add --cacheinfo <mode>,<sha1>,<path>
252
253
254
`--info-only` is used to register files without placing them in the object
0 commit comments