0

For example, let's say I have a variable "UserFavoriteFood" in a repository and a collaborator committed code that changes the value somewhere and I wasn't aware of it. I want to be able to search commits in the repo to find the ones that have "UserFavoriteFood" in it, ordered by recency. The main use case for this is debugging in a large repo.

mxdg
  • 314
  • 3
  • 14

1 Answers1

0

On GitHub specifically, there's an API to search commits in the default branch: https://docs.github.com/en/rest/search?apiVersion=2022-11-28#search-commits

Jim Redmond
  • 4,139
  • 1
  • 14
  • 18