I am working on generating read/write logs for each git/gitlab repository. I was able to generate logs with pre receive hook concept on server side but I am missing user info in the output.
Current output : Date stamp [old rev] [new rev] [ref name ] .
I want user info as well before every output log. How can I add environment variable so that every time a user changes anything on repo I can produce his info along with log. User uses ssh and https connections.
Thank you all