Add git-grep aliases

This commit is contained in:
Sorin Ionescu 2012-09-24 23:49:58 -04:00
parent 003ca8365b
commit 7b453c1073

View File

@ -49,6 +49,14 @@ alias gfc='git clone'
alias gfm='git pull' alias gfm='git pull'
alias gfr='git pull --rebase' alias gfr='git pull --rebase'
# Grep (g)
alias gg='git grep'
alias ggi='git grep --ignore-case'
alias ggl='git grep --files-with-matches'
alias ggL='git grep --files-without-matches'
alias ggv='git grep --invert-match'
alias ggw='git grep --word-regexp'
# Index (i) # Index (i)
alias gia='git add' alias gia='git add'
alias giA='git add --patch' alias giA='git add --patch'
@ -154,5 +162,4 @@ alias gwc='git clean -n'
alias gwC='git clean -f' alias gwC='git clean -f'
alias gwx='git rm -r' alias gwx='git rm -r'
alias gwX='git rm -rf' alias gwX='git rm -rf'
alias gwg='git grep'