Reputation: 956
Hi i would like to search for a file using a particular pattern in my GIT repo that has multiple projects .
Is it possible?
Upvotes: 1
Views: 354
Reputation: 1328982
A git repo doesn't know about the notion of "project".
You can simply grep in your current working tree (if those projects are checked out)
Or you can use git grep
in order to search in the history of those same files, across branches.
See "How to grep (search) committed code in the git history?"
Upvotes: 1