1

How to list all users that have current access to a project in Git? I looked into following

List all developers on a project in Git

which lists all users that have contributed to the project. Is there a way to list all users that can access it currently?

Nevin
  • 769
  • 1
  • 11
  • 26
  • 2
    Git itself has no access control. Zero, nada, zilch, nothing. Therefore, by definition, *something else* provides the access control. It depends on the "something else". GitHub? See GitHub. Bitbucket? See Bitbucket. GitLab? Well, if it's GitLab on *your* system, see ... yourself. :-) – torek Oct 16 '19 at 01:46
  • @torek I can see a user.passwd which contains user names and encrypted passwords, can it be the access control? – Nevin Oct 16 '19 at 04:02
  • There is no `user.passwd` in [`.git/config`](https://git-scm.com/docs/git-config). – phd Oct 16 '19 at 09:23

1 Answers1

0

I can see a user.passwd which contains user names and encrypted passwords

You would have to be more explicit as to where you see that file, in which environment, OS version, etc.
But Git itself has no notion of users or user.passwd.

You can list all current contributors in a repository, but this has nothing to do as "having access" (which involves authorization, something that Git does not manage)

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250