Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
298b6351
Commit
298b6351
authored
Sep 05, 2016
by
Marc Cornellà
Browse files
git plugin: remove `format:' from --pretty flag
Changes gke, glol and glola aliases. Fixes #5362
parent
2c9d8310
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/git/git.plugin.zsh
View file @
298b6351
...
@@ -161,7 +161,7 @@ compdef git-svn-dcommit-push=git
...
@@ -161,7 +161,7 @@ compdef git-svn-dcommit-push=git
alias
gk
=
'\gitk --all --branches'
alias
gk
=
'\gitk --all --branches'
compdef _git
gk
=
'gitk'
compdef _git
gk
=
'gitk'
alias
gke
=
'\gitk --all $(git log -g --pretty=
format:
%h)'
alias
gke
=
'\gitk --all $(git log -g --pretty=%h)'
compdef _git
gke
=
'gitk'
compdef _git
gke
=
'gitk'
alias
gl
=
'git pull'
alias
gl
=
'git pull'
...
@@ -171,8 +171,8 @@ alias glgg='git log --graph'
...
@@ -171,8 +171,8 @@ 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'
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='%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='%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --all"
alias
glog
=
'git log --oneline --decorate --graph'
alias
glog
=
'git log --oneline --decorate --graph'
alias
gloga
=
'git log --oneline --decorate --graph --all'
alias
gloga
=
'git log --oneline --decorate --graph --all'
alias
glp
=
"_git_log_prettily"
alias
glp
=
"_git_log_prettily"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment