$ ./guess_the_languageGit
Git · hard · #29

Which commits does this list?

git log --oneline -S "foo()"
  1. Commits signed by the key foo()
  2. Every commit touching a file with foo()
  3. Commits whose message has foo()
  4. Commits that add or remove foo()
The pickaxe -S lists commits that change the number of occurrences of the string. --grep is the option that searches commit messages.
Play Git ▸