@@ -17,31 +17,35 @@ DESCRIPTION
1717Adds a 'replace' reference in `.git/refs/replace/`
1818
1919The name of the 'replace' reference is the SHA1 of the object that is
20- replaced. The content of the replace reference is the SHA1 of the
20+ replaced. The content of the ' replace' reference is the SHA1 of the
2121replacement object.
2222
23- Unless `-f` is given, the replace reference must not yet exist in
23+ Unless `-f` is given, the ' replace' reference must not yet exist in
2424`.git/refs/replace/` directory.
2525
26- Replace references will be used by default by all git commands except
27- those doing reachability traversal (prune, pack transfer and fsck).
26+ Replacement references will be used by default by all git commands
27+ except those doing reachability traversal (prune, pack transfer and
28+ fsck).
2829
29- It is possible to disable use of replacement refs for any command
30- using the --no-replace-objects option just after " git" .
30+ It is possible to disable use of replacement references for any
31+ command using the ` --no-replace-objects` option just after ' git' .
3132
32- For example if commit " foo" has been replaced by commit " bar" :
33+ For example if commit ' foo' has been replaced by commit ' bar' :
3334
3435------------------------------------------------
35- $ git --no-replace-object cat-file commit foo
36+ $ git --no-replace-objects cat-file commit foo
3637------------------------------------------------
3738
38- show information about commit " foo" , while:
39+ shows information about commit ' foo' , while:
3940
4041------------------------------------------------
4142$ git cat-file commit foo
4243------------------------------------------------
4344
44- show information about commit "bar".
45+ shows information about commit 'bar'.
46+
47+ The 'GIT_NO_REPLACE_OBJECTS' environment variable can be set to
48+ achieve the same effect as the `--no-replace-objects` option.
4549
4650OPTIONS
4751-------
0 commit comments