Debugging

Debugging

Find which commit introduced a bug

Use Git Bisect for a full walkthrough of manual and automated binary search through commit history.

See who last changed each line

$ git blame <file>

Search commit messages

$ git log --grep="fix" --oneline

Search file contents across history

$ git log -S "functionName" --oneline
On this page