Skip to main content
Code and think

Git Log

To show log with connections between branches: git log --graph --oneline --decorate.

Show commits that add or remove a line with a string git log -S 'example'.

Show commits that touch a C style function: git log -L:functionName:path/to/function/file.c.