tAdd some setup notes in the readme. - git-restrict - simple utility for git repo permission management HTML git clone https://git.parazyd.org/git-restrict DIR Log DIR Files DIR Refs DIR README DIR LICENSE --- DIR commit ba0936bd825bf583f4521d4fb09aec4a38f24167 DIR parent 6c15c187876469f4fa819a1eb29cf99d79efe62a HTML Author: parazyd <parazyd@dyne.org> Date: Sun, 4 Apr 2021 12:58:12 +0200 Add some setup notes in the readme. Diffstat: M README.md | 6 ++++++ 1 file changed, 6 insertions(+), 0 deletions(-) --- DIR diff --git a/README.md b/README.md t@@ -17,6 +17,12 @@ in chroot environments. This is obviously intentional. Basic usage ----------- +Set up SSH and a `git` user on a host machine that will serve the git +repositories. Ideally the repos should be stored in the user's `$HOME`. + +After this, compile and install git-restrict and use something like +the following to set repo permissions for specific SSH keys: + ``` $ cat ~/.ssh/authorized_keys command="/usr/bin/git-restrict repo0 repo1 repo2" ssh-ed25519 AAA...1 user0@machine