docs: Reference the git docs on references
This commit is contained in:
parent
6cc7238c4d
commit
89514dd8ba
|
|
@ -74,9 +74,13 @@ command, it will operate on the system repository.
|
||||||
|
|
||||||
## Refs
|
## Refs
|
||||||
|
|
||||||
Like git, OSTree uses "refs" to which are text files that point to
|
Like git, OSTree uses the terminology "references" (abbreviated
|
||||||
particular commits (i.e. filesystem trees). For example, the
|
"refs") which are text files that name (refer to) to particular
|
||||||
gnome-ostree operating system creates trees named like
|
commits. See the
|
||||||
|
[Git Documentation](https://git-scm.com/book/en/v2/Git-Internals-Git-References)
|
||||||
|
for information on how git uses them. Unlike git though, it doesn't
|
||||||
|
usually make sense to have a "master" branch. There is a convention
|
||||||
|
for references in OSTree that looks like this:
|
||||||
`exampleos/buildmaster/x86_64-runtime` and
|
`exampleos/buildmaster/x86_64-runtime` and
|
||||||
`exampleos/buildmaster/x86_64-devel-debug`. These two refs point to
|
`exampleos/buildmaster/x86_64-devel-debug`. These two refs point to
|
||||||
two different generated filesystem trees. In this example, the
|
two different generated filesystem trees. In this example, the
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue