mikelovelyuk
mikelovelyuk

Reputation: 4152

List every git command I have ever made

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

Answers (1)

VonC
VonC

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

Related Questions