Re: [git-users] Identifying user who ran “git reset” command

2015-02-21 Thread Gergely Polonkai
Logging pushes is a bit tricky, as push such operation doesn't have an associated user record (ie. pushes don't have authors nor committers). If your developers use different user accounts for pushing to the repository, though, you may implement a git hook that runs after each ref update. Note

Re: [git-users] Identifying user who ran “git reset” command

2015-02-21 Thread Gaurav Chhabra
Hi Gergely, We use Gitolite only for access control. As you mentioned, it runs as a common user and each user has its own user id which they use for accessing Git repositories. What i do understand is that we can definitely implement hook (and we do have one) when a user pushes something to a

Re: [git-users] Identifying user who ran “git reset” command

2015-02-21 Thread Gaurav Chhabra
Thanks for the reply Gergely! I am wondering how can we log pushes and whether push logs will contain details about 'git reset'. Can you please help me with the command (not the exact syntax) or some link which i can refer to, to implement logging for pushes? On Sat, Feb 21, 2015 at 2:16 PM,