# ____ ___ _____
# / ___|/ _ \_ _|
# | | _| | | || |
# | |_| | |_| || |
# \____|\___/ |_|
#
Got: Version Control Focused on Simplicity, not Flexibility
Got is a new version control system built on top of git, which is focused on making
git a little more easier to use.
Got will always be compatible with git.
Setup and config
TBD
Setup of gotd
mkdir -p /git/myrepo.git
chmod 700 /git/myrepo.git
-
chown _gotd /git/myrepo.git
-
su -m _gotd -c ‘gotadmin init /git/myrepo.git’
- Add the new repository to gotd.conf(5) granting read-write access to the
- flan_hacker user account, and restart gotd:
-
cat » /etc/gotd.conf «EOF
- repository ‘myrepo’ {
- path ‘/git/myrepo.git’
- permit rw flan_hacker
- }
- EOF
-
rcctl restart gotd
-
Run as the default user:
- user _gotd
-
Listen on the default socket:
- listen on “/var/run/gotd.sock”
-
This repository can be accessed via ssh://user@example.com/src
- repository “src” {
- path “/var/git/src.git”
- permit rw flan_hacker
- permit rw :developers
- permit ro anonymous
- protect branch “main”
- protect tag namespace “refs/tags/”
- }
-
This repository can be accessed via
-
ssh://user@example.com/openbsd/ports
- repository “openbsd/ports” {
- path “/var/git/ports.git”