-1

I need to find a string, that corresponds to regex, in the whole git repository. Can i achive that using git tool? Thanks

0

2 Answers 2

1
git log -G <pattern>

does that. See the doc.

Sign up to request clarification or add additional context in comments.

Comments

0

You can use the git rev-list command to search through the repo. If you want to search based on commit message use the - - grep option. https://git-scm.com/docs/git-rev-list

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.