The git blame command is used to find out who / which commit is responsible for the latest changes made to the file. The author / commit of each line can also be seen.
git blame filename (accepts responsibility for changes for all lines in the code)
git blame filename -L 0,10 (fixes responsibility for changes from line "0" to line "10")
There are many other options for the prosecution, as a rule, they can help.
Bharath TS Mar 07 '18 at 5:22 2018-03-07 05:22
source share