-
Im shifting some code from bash to python that makes use of Im wondering if there is a recommended way to do this - eg with a Im particularly keen to replicate git grep's |
Beta Was this translation helpful? Give feedback.
Answered by
Byron
Jan 29, 2022
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Byron
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
GitPython
won't help much here as it merely acts as wrapper aroundgit
to allow something likerepo.git.grep(I=true)
, the result has to be parsed by hand. There is no other support forgrep
like functionality or gitattributes.