Reputation: 4152
Is there a way to list every git command I have ever ran from a particular repository?
git log
for example just shows all the commits. And not even just my commits, but everyones for that repo.
Upvotes: 4
Views: 60
Reputation: 1323175
Not directly with Git.
With GitHub API, you could list events (even the events performed by a user) and see if you can get at least pushes from users.
If you were to push a repo on a Git repo hosting server that you control, you could install an authorization layer that gitolite which does have an audit log allowing you to parse and extract git commands from a specific user.
Upvotes: 1