aboutsummaryrefslogtreecommitdiffstats
path: root/builds.sr.ht/manifest.md
diff options
context:
space:
mode:
authorronys <ronys@pwsafe.org>2020-06-14 22:32:21 +0300
committerDrew DeVault <sir@cmpwn.com>2020-06-14 15:33:00 -0400
commitc9544585b7def444c47621ff8a74b217ce69c813 (patch)
treeb6df603fa0214c8d0098a133bd5c901a18801b2c /builds.sr.ht/manifest.md
parentd13790fc69d0a1937586c202af423fa9e7d175fc (diff)
downloadsr.ht-docs-c9544585b7def444c47621ff8a74b217ce69c813.tar.gz
Describe how to specify git revision in source
Diffstat (limited to 'builds.sr.ht/manifest.md')
-rw-r--r--builds.sr.ht/manifest.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/builds.sr.ht/manifest.md b/builds.sr.ht/manifest.md
index 2909527..616651e 100644
--- a/builds.sr.ht/manifest.md
+++ b/builds.sr.ht/manifest.md
@@ -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