AGWA / git-crypt

Transparent file encryption in git
https://www.agwa.name/projects/git-crypt/
GNU General Public License v3.0
8.11k stars 472 forks source link

a command that allows you to see all the users added to a repo #231

Open theoryshaw opened 2 years ago

theoryshaw commented 2 years ago

Dumb question, is there a command that allows you to see all the users added to a repo?

nicolaiskogheim commented 2 years ago

I don't know of such a command, but this is what I do:

$ git log --oneline | grep git-crypt
63ed9f855 README: Provide a bit more context on git-crypt
e49e88a32 Tell git-crypt to encrypt secrets
9daa6f0f0 Add 1 git-crypt collaborator
648a782ea Add 1 git-crypt collaborator

$ git show 9daa6f0f0
commit 648a782ea40f13f34a4c783a8ece67e8b9fd4113
Author: Nicolai Skogheim
Date:   Thu Aug 23 15:16:30 2018 +0200

    Add 1 git-crypt collaborator

    New collaborators:

            9A4FF8D4 Nicolai Skogheim <nicolai.skogheim@...>

If you have removed people, there should be commits for that as well.

EDIT: This saves you from looking up each commit: (I just learned about the --grep flag :) )

$ git log --grep="git-crypt"
joelmellon commented 2 years ago

This would be a great feature. Essentially the functionality offered by git secret whoknows: https://git-secret.io/git-secret-whoknows