added aliases for colored git log, git diff
This commit is contained in:
parent
ae80c23369
commit
c96378783b
1 changed files with 2 additions and 0 deletions
2
.bashrc
2
.bashrc
|
|
@ -7,3 +7,5 @@ HISTTIMEFORMAT="%d.%m.%Y %H:%M %Z #"
|
||||||
# aliases
|
# aliases
|
||||||
alias grep='grep --color'
|
alias grep='grep --color'
|
||||||
alias gdp='git diff HEAD^ HEAD'
|
alias gdp='git diff HEAD^ HEAD'
|
||||||
|
alias gl='git log --pretty=format:"%Cgreen%h %Creset %s %Cgreenby %an (%ar) %Cred %d" --graph'
|
||||||
|
alias gdc='git diff --color'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue