~sircmpwn/sr.ht-docs

c9544585b7def444c47621ff8a74b217ce69c813 — ronys 30 days ago d13790f
Describe how to specify git revision in source
1 files changed, 5 insertions(+), 1 deletions(-)

M builds.sr.ht/manifest.md
M builds.sr.ht/manifest.md => builds.sr.ht/manifest.md +5 -1
@@ 91,9 91,13 @@ SSH access to build VMs](/builds.sr.ht/build-ssh.md).

A list of repositories to clone into the home directory of the build user in the
build environment. Optionally, prefix the protocol with the source control
management scheme, to specify a protocol other than git. Examples:
management scheme, to specify a protocol other than git.
To specify a non-default [git revision](https://git-scm.com/docs/gitrevisions), append *#commit-object* to the repository.

Examples:

- `https://git.sr.ht/~sircmpwn/scdoc`: git over https
- `https://git.sr.ht/~sircmpwn/scdoc#devel`: git over https (devel branch)
- `git@git.sr.ht:~sircmpwn/scdoc`: git over SSH
    ([requires key](/builds.sr.ht/private-repos.md))
- `hg+https://hg.sr.ht/~sircmpwn/scdoc`: Mercurial over https