mirror of
https://github.com/ostreedev/ostree.git
synced 2025-02-02 13:47:38 +03:00
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
|
||||
|
||||
Like git, OSTree uses "refs" to which are text files that point to
|
||||
particular commits (i.e. filesystem trees). For example, the
|
||||
gnome-ostree operating system creates trees named like
|
||||
Like git, OSTree uses the terminology "references" (abbreviated
|
||||
"refs") which are text files that name (refer to) to particular
|
||||
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-devel-debug`. These two refs point to
|
||||
two different generated filesystem trees. In this example, the
|
||||
|
Loading…
x
Reference in New Issue
Block a user