I am currently analyzing a Git repo, and I am trying to figure out how code entered into a specific commit can evolve over time in subsequent commits. For example, given line 9 in commit 57176a ..., what is the next commit in the main branch that modifies this line of code?
As far as I know, git log and git blame work in a different direction: they can parse a string in a given commit based on the previous ones . However, what I would like to do is parse the string in a given commit based on subsequent ones .
git
fnakstad
source share