GIT-INIT-ACL(1) | General Commands Manual | GIT-INIT-ACL(1) |
NAME
git-init-acl
—
create and share a git repository amongst multiple users
SYNOPSIS
git init-acl |
directory [user...] |
DESCRIPTION
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>
SEE ALSO
getfacl(1), git(1), git-init(1), setfacl(1), acl(5)AUTHORS
git-init-acl
was written by Wolfgang
Müller .
July 19, 2021 |