How to create multiple users for a single GIT repository with different access permissions?

StackOverflow https://stackoverflow.com/questions/22897681

  •  28-06-2023
  •  | 
  •  

문제

How to create multiple users for a single GIT repository with different credentials?

i.e. I want to provide read-only access to a set of users and read-write access to another set of users. Also, I need to give a unique username for each user in both the levels. It would be really helpful if I get the correct steps to perform this operation.

Thanks in advance.!!!

도움이 되었습니까?

해결책

One way is to install gitolite, which allows you to declare and manage a set of users with, for instance ssh keys for authentication.

See "How do programs like gitolite work?" for more.

But you cal also plug gitolite with https, and use https authentication instead (with LDAP for example).

Gitolite is just a perl script which deals with authorization, not authentication.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top