Browse Source

Add git-grep aliases

master
Sorin Ionescu 12 years ago
parent
commit
7b453c1073
  1. 9
      modules/git/alias.zsh

9
modules/git/alias.zsh

@ -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'

Loading…
Cancel
Save