Skip to content

Instantly share code, notes, and snippets.

@ryankirkman
Created September 28, 2014 04:45
Show Gist options
  • Save ryankirkman/8c4872c6479b0a9dd1e7 to your computer and use it in GitHub Desktop.
Save ryankirkman/8c4872c6479b0a9dd1e7 to your computer and use it in GitHub Desktop.
Nice git repo search (like ack) with grep speed
# Please see: http://travisjeffery.com/b/2012/02/search-a-git-repo-like-a-ninja/
alias gg='git grep -E --break --heading --line-number'
# Case insensitive search
alias ggi='gg -i'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment