Skip to content

Commit

Permalink
refactor(git): update git config for lg, ll, lp
Browse files Browse the repository at this point in the history
  • Loading branch information
wyntau committed Aug 17, 2023
1 parent f405b67 commit 668764f
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions git/gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,14 @@

git = !exec git

lg = log --color --graph --date-order --pretty=format:'%C(bold magenta)%h %C(reset)-%C(auto)%d %C(reset)%s %C(blue)<%an> %C(reset)%C(green)%ar%C(cyan)(%ad)' --date=iso8601-strict
lg = log --color --graph --date-order --pretty=format:'%C(bold magenta)%h %C(reset)-%C(auto)%d %C(reset)%s %C(blue)<%an> %C(green)%ar%C(cyan)(%ad)' --date=iso8601-strict
ll = log --color --graph --date-order --pretty=format:'\
%C(auto)%d%C(yellow)%B%n\
%C(ul)Hash:%C(reset) %C(bold magenta)%H%n\
%C(ul)Author:%C(reset) %C(blue)%an<%ae> %C(reset)%C(green)%ar%C(cyan)(%ad)%n\
%C(ul)Committer:%C(reset) %C(blue)%cn<%ce> %C(reset)%C(green)%cr%C(cyan)(%cd)%n\
%C(ul)Author:%C(reset) %C(blue)%an<%ae> %C(green)%ar%C(cyan)(%ad)%n\
%C(ul)Committer:%C(reset) %C(blue)%cn<%ce> %C(green)%cr%C(cyan)(%cd)%n\
' --stat --date=iso8601-strict
lp = log --color --graph --date-order --pretty=format:'\
%C(auto)%d%C(yellow)%B%n\
%C(ul)Hash:%C(reset) %C(bold magenta)%H%n\
%C(ul)Author:%C(reset) %C(blue)%an<%ae> %C(reset)%C(green)%ar%C(cyan)(%ad)%n\
%C(ul)Committer:%C(reset) %C(blue)%cn<%ce> %C(reset)%C(green)%cr%C(cyan)(%cd)%n\
' --stat --date=iso8601-strict --patch
lp = ll --patch

# merge
mg = merge
Expand Down

0 comments on commit 668764f

Please sign in to comment.