Skip to content

Instantly share code, notes, and snippets.

@lrobeson
Created December 29, 2016 20:23
Show Gist options
  • Save lrobeson/18c5c4d6c8aa088f4b8d30de5402e967 to your computer and use it in GitHub Desktop.
Save lrobeson/18c5c4d6c8aa088f4b8d30de5402e967 to your computer and use it in GitHub Desktop.
Git alias to more easily search log
[alias]
# Usage: 'git find helloWorld'
# Source: http://stackoverflow.com/a/7125014/4114265
find = log --all --pretty=\"format:%Cgreen%H %C(bold blue)%s\n%b%Creset\" --name-status --grep
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment