docs: Reference the git docs on references

This commit is contained in:
Colin Walters 2016-03-09 14:07:52 -05:00
parent 6cc7238c4d
commit 89514dd8ba
1 changed files with 7 additions and 3 deletions

View File

@ -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