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,035
  • 17
  • 57
  • 82
Flows
  • 3,405
  • 1
  • 22
  • 51