aboutsummaryrefslogtreecommitdiffstats
GIT-INIT-ACL(1) General Commands Manual GIT-INIT-ACL(1)

git-init-acl
create and share a git repository amongst multiple users

git init-acl directory [user...]

git-init-acl creates (or reinitializes) a git repository at directory and grants the owner and all other specified users write access to it. Access rights are stored in POSIX Access Control Lists as per acl(5).

It is safe to run this command on an already existing git repository. Previously unauthorized users that are included in the subsequent invocation will be granted write access.

git-init-acl only ever grants access. If you need to remove access for a user, use the following invocation of setfacl(1) instead:

setfacl -Rnx 'u:<user>,d:u:<user>' <repository>

getfacl(1), git(1), git-init(1), setfacl(1), acl(5)

git-init-acl was written by Wolfgang Müller .
July 19, 2021