I noticed in the documentation you can specify the parameter --grep-reflog
--grep-reflog=<pattern>
Limit the commits output to ones with reflog entries that match the specified pattern (regular expression). With more than one --grep-reflog, commits whose reflog message matches any of the given patterns are chosen. It is an error to use this option unless --walk-reflogs is in use.
I kind of wanted clarification on how this is different from --grep
. What benefit is there for looking through actions made through the git reflog
s? Is it just so you know what is available in git reflog
so if you wanted to access it, you can?