If the push is through SSH, you can use the USER
environment variable. (Of course, this will also work for local taps.) It depends, of course, on whether the user used to log in to SSH differs for different users of your system - for example, this does not apply to gitol. (However, the hitolite will define the GL_USER
environment GL_USER
to identify the pusher.) For HTTP, you can try the REMOTE_USER
environment REMOTE_USER
.
Update. In general, this information is not very interesting compared to the author and commit commit - it always seems to me a surprise, for example, that GitHub displays a user who made specific clicks on everyone ...
source share