Commit b4a85eca authored by Marc Cornellà's avatar Marc Cornellà
Browse files

Merge pull request #4728 from atk91/4727

Remove --color flag from git log aliases

The way to colorize `git log` output is by setting the `color.ui` configuration.
parents 7cc1eab6 d853ec4b
...@@ -146,15 +146,15 @@ alias gke='\gitk --all $(git log -g --pretty=format:%h)' ...@@ -146,15 +146,15 @@ alias gke='\gitk --all $(git log -g --pretty=format:%h)'
compdef _git gke='gitk' compdef _git gke='gitk'
alias gl='git pull' alias gl='git pull'
alias glg='git log --stat --color' alias glg='git log --stat'
alias glgp='git log --stat --color -p' alias glgp='git log --stat -p'
alias glgg='git log --graph --color' alias glgg='git log --graph'
alias glgga='git log --graph --decorate --all' alias glgga='git log --graph --decorate --all'
alias glgm='git log --graph --max-count=10' alias glgm='git log --graph --max-count=10'
alias glo='git log --oneline --decorate --color' alias glo='git log --oneline --decorate'
alias glol="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit" alias glol="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
alias glola="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --all" alias glola="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --all"
alias glog='git log --oneline --decorate --color --graph' alias glog='git log --oneline --decorate --graph'
alias glp="_git_log_prettily" alias glp="_git_log_prettily"
compdef _git glp=git-log compdef _git glp=git-log
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment