I just found out the differences between
git log --all -G "mystring"
and,
git log --all -S "mystring"
as you can see here, for example.
But, I'd like to know if I can specify several regular expressions (a.k.a. regex) to -G
, with something like:
git log --all -G "str1" --and -G "str2"
Of course, I can always wrap git commands inside python or bash scripts, but I'd like to know if using pure-git-commands, I can do this.
Thanks very much!!