Skip to content
Snippets Groups Projects
Commit 7d916990 authored by Junio C Hamano's avatar Junio C Hamano
Browse files

Merge branch 'en/update-index-doc'

Doc update.

* en/update-index-doc:
  git-update-index.txt: reword possibly confusing example
parents 13bf260a 388d0ff6
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -245,10 +245,10 @@ USING --CACHEINFO OR --INFO-ONLY
current working directory. This is useful for minimum-checkout
merging.
 
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:
 
----------------
$ git update-index --cacheinfo <mode>,<sha1>,<path>
$ git update-index --add --cacheinfo <mode>,<sha1>,<path>
----------------
 
`--info-only` is used to register files without placing them in the object
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment