Thread (1 message) 1 message, 1 author, 2019-03-20

Re: git command history

From: Junio C Hamano <hidden>
Date: 2019-03-20 00:47:40

balaji marisetti [off-list ref] writes:
Can anyone please tell me if there is way to see the command history
of a local git repo? If there isn't a way, why hasn't the
command-history feature been implemented?
Another question may be why anybody would want to have such a per
repository command history, want Git to spend cycles and disk I/O to
store it, and want developers to spend braincycles to think about
it.

Depending on where you come from (i.e. if the interest in such a
history is coming from corporate management and/or big brother side
that wants to learn what its users are doing), I think JeffH's
trace2 effort that allows "telemetry" to be collected may be a
better match than a command history (e.g. "history | grep git").
Without knowing (not that I am all that interested in) what the
motivation of wanting such a thing, it is rather hard to guess,
though ;-).
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help