Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
a5850d44
Unverified
Commit
a5850d44
authored
Sep 06, 2021
by
Neil Girdhar
Committed by
GitHub
Sep 06, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(git): change from commiter to author in `git log` aliases (#9670)
parent
19710a2d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
README.md
plugins/git/README.md
+3
-3
git.plugin.zsh
plugins/git/git.plugin.zsh
+3
-3
No files found.
plugins/git/README.md
View file @
a5850d44
...
...
@@ -98,11 +98,11 @@ plugins=(... git)
| glgga | git log --graph --decorate --all |
| glgm | git log --graph --max-count=10 |
| glo | git log --oneline --decorate |
| glol | git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%
c
r) %C(bold blue)
<
%
an
>
%Creset' |
| glols | git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%
c
r) %C(bold blue)
<
%
an
>
%Creset' --stat |
| glol | git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%
a
r) %C(bold blue)
<
%
an
>
%Creset' |
| glols | git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%
a
r) %C(bold blue)
<
%
an
>
%Creset' --stat |
| glod | git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ad) %C(bold blue)
<
%
an
>
%Creset' |
| glods | git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ad) %C(bold blue)
<
%
an
>
%Creset' --date=short |
| glola | git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%
c
r) %C(bold blue)
<
%
an
>
%Creset' --all |
| glola | git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%
a
r) %C(bold blue)
<
%
an
>
%Creset' --all |
| glog | git log --oneline --decorate --graph |
| gloga | git log --oneline --decorate --graph --all |
| glp | git log --pretty=
\<
format
\>
|
...
...
plugins/git/git.plugin.zsh
View file @
a5850d44
...
...
@@ -210,11 +210,11 @@ alias glgg='git log --graph'
alias
glgga
=
'git log --graph --decorate --all'
alias
glgm
=
'git log --graph --max-count=10'
alias
glo
=
'git log --oneline --decorate'
alias
glol
=
"git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%
c
r) %C(bold blue)<%an>%Creset'"
alias
glols
=
"git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%
c
r) %C(bold blue)<%an>%Creset' --stat"
alias
glol
=
"git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%
a
r) %C(bold blue)<%an>%Creset'"
alias
glols
=
"git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%
a
r) %C(bold blue)<%an>%Creset' --stat"
alias
glod
=
"git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ad) %C(bold blue)<%an>%Creset'"
alias
glods
=
"git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ad) %C(bold blue)<%an>%Creset' --date=short"
alias
glola
=
"git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%
c
r) %C(bold blue)<%an>%Creset' --all"
alias
glola
=
"git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%
a
r) %C(bold blue)<%an>%Creset' --all"
alias
glog
=
'git log --oneline --decorate --graph'
alias
gloga
=
'git log --oneline --decorate --graph --all'
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