Create repository and a new group then add all the relevant users to that group and give the group ownership of the repository.
To init git repository on the server you must execute this command:
git init --bare --shared example.git
The shared option sets permissions on the everything in the repository to group writers.
No comments:
Post a Comment