Skip to content

Commit 11fbe18

Browse files
Philip Oakleypeff
authored andcommitted
Doc repository-layout: Show refs/replace
Signed-off-by: Philip Oakley <[email protected]> Signed-off-by: Jeff King <[email protected]>
1 parent 7e20105 commit 11fbe18

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Documentation/gitrepository-layout.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,12 @@ refs/remotes/`name`::
9393
records tip-of-the-tree commit objects of branches copied
9494
from a remote repository.
9595

96+
refs/replace/`<obj-sha1>`::
97+
records the SHA1 of the object that replaces `<obj-sha1>`.
98+
This is similar to info/grafts and is internally used and
99+
maintained by linkgit:git-replace[1]. Such refs can be exchanged
100+
between repositories while grafts are not.
101+
96102
packed-refs::
97103
records the same information as refs/heads/, refs/tags/,
98104
and friends record in a more efficient way. See

0 commit comments

Comments
 (0)