Add a git grep alias
This commit is contained in:
parent
fc939f8f9a
commit
5e0240a9d4
1
zshrc
1
zshrc
|
@ -190,6 +190,7 @@ alias ggamend='git commit --amend'
|
|||
### Update remote repository
|
||||
alias ggpush='git push'
|
||||
### Print lines matching a pattern
|
||||
alias ggrep='git grep --color -n -P'
|
||||
alias gggrep='git grep --color -n -P'
|
||||
### Show commit logs
|
||||
alias gglog="git log --graph --full-history --all --color --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'"
|
||||
|
|
Loading…
Reference in New Issue