Browse code

Enable `symbolic-ref` command

Robert Cranston authored on 23/01/2021 20:35:26
Showing 2 changed files

... ...
@@ -3,9 +3,10 @@
3 3
 An [Ansible][] [role][] for deploying [gitolite][] on [Debian][] >=9.
4 4
 
5 5
 Installs [gitolite][], creates a [dedicated user][] to run it (defaults to
6
-`git`), prepares for [administering gitolite directly on the server][], and
7
-allows (explicit) [user created repos][] with [multiple `OWNERS`][] and
8
-`user/USER/*` [personal branches][] for `USERS`.
6
+`git`), prepares for [administering gitolite directly on the server][], allows
7
+(explicit) [user created repos][] with [multiple `OWNERS`][] and `user/USER/*`
8
+[personal branches][] for `USERS`, and allows users to run [`symbolic-ref`][]
9
+(e.g. to change `HEAD`, the default branch).
9 10
 
10 11
 [`ansible-role-gitolite`]: https://git.rcrnstn.net/rcrnstn/ansible-role-gitolite
11 12
 [Ansible]: https://docs.ansible.com/ansible
... ...
@@ -17,6 +18,7 @@ allows (explicit) [user created repos][] with [multiple `OWNERS`][] and
17 18
 [user created repos]: https://gitolite.com/gitolite/odds-and-ends#giving-users-their-own-repos
18 19
 [multiple `OWNERS`]: https://gitolite.com/gitolite/wild#specifying-owners
19 20
 [personal branches]: https://gitolite.com/gitolite/user#personal-branches
21
+[`symbolic-ref`]: https://git-scm.com/docs/git-symbolic-ref
20 22
 
21 23
 ## Try out
22 24
 
... ...
@@ -107,6 +107,7 @@
107 107
             # 'readme',
108 108
             # 'sskm',
109 109
             'D',
110
+            'symbolic-ref',
110 111
 
111 112
         # These FEATURES are enabled by default.
112 113