I noticed that in the documentation you can specify a parameter --grep-reflog
- grep-reflog = <pattern>
Limit the output of commits to those whose reflog entries match the specified pattern (regular expression). With more than one -grep-reflog commits, whose reflog message matches any of the selected patterns. Error using this option if -walk-reflogs is not used.
I would like to explain how this differs from --grep. What is the use of viewing actions performed via git reflogs? This is the only way you know what is available in git reflog, so if you want to access it, can you?
source
share