Block and/or Identify Fake author name/email in GIT
问题 I want to block fake users in git commit . That means one user must not be able to change his/her email with someone else. I use gitolite. How can I implement this feature? As I have users' public keys, can I bind their email/name to that public key? 回答1: As I have users' public key, can I bind email/name with that public key? Not natively: Gitolite only works with the user id (as extracted from the http or ssh session and set in a variable GL_USER ) So you need to have that information