Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 609 Bytes

README.md

File metadata and controls

9 lines (7 loc) · 609 Bytes

Git User Check

Sometimes, after cloning a repository from a corporate server and having already sent several commits there, you notice that you forgot to change the user settings in git.
This extension is written to avoid this.

Configuration

  • gitcheck.domain – The domain (or just a substring) for which the check will be performed (you can see in the output of the command git remote -v).
  • gitcheck.name – This value will be checked against the value of the git parameter user.name.
  • gitcheck.email – This value will be checked against the value of the git parameter user.email.