Reputation: 31
I have a repository cloned in my PC, and came across a link refering to a folder I couldn't find anywhere. In fact, a link to the code I'm looking for gives 404 as a result. Is there any way to try to find it across all versions/branches?
Upvotes: 3
Views: 39
Reputation: 3863
To do that, you can grep in commit content like explained on another post
git grep "Your Link" $(git rev-list --all)
Another solution is to used log command:
git log -S"Your Link"
Upvotes: 1