Find out who changed specific lines of a file
who changed this line git | git blame specific lines | find author of a line of code | git | blame | historygit blame -L 10,40 wp-config.phpPrints the short commit hash, author, date and line content for every line in the given range. With the hash, git show displays the complete commit including its message. Useful when a configuration line suddenly looks different and you are looking for the cause.
Note: -w ignores whitespace-only changes, and -C also follows moved or copied lines.
Also searched as
- who changed this line git
- git blame specific lines
- find author of a line of code