Home > Software engineering >  Which PR is responsible for a code line on GitHub?
Which PR is responsible for a code line on GitHub?

Time:12-02

Within any accessible GitHub repo and a given code segment (e.g. a function), how is it possible to see which commit or PR has led to it?

CodePudding user response:

You can see a file with annotations of which commits contributed by hitting the blame button on a file view. The top of a github file, with the 'Blame' button highlighted

enter image description here

  • Related