Merge branch 'sp/doc-update-index-cacheinfo'
* sp/doc-update-index-cacheinfo: Documentation: use single-parameter --cacheinfo in example
This commit is contained in:
commit
9d6db4a28d
@ -202,7 +202,7 @@ merging.
|
||||
To pretend you have a file with mode and sha1 at path, say:
|
||||
|
||||
----------------
|
||||
$ git update-index --cacheinfo mode sha1 path
|
||||
$ git update-index --cacheinfo <mode>,<sha1>,<path>
|
||||
----------------
|
||||
|
||||
'--info-only' is used to register files without placing them in the object
|
||||
|
Loading…
Reference in New Issue
Block a user