3

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?

Pau
  • 31
  • 3

1 Answers1

1

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"
Graham
  • 7,431
  • 18
  • 59
  • 84
Flows
  • 3,675
  • 3
  • 28
  • 52