[git] better log format and new decoration colors
This commit is contained in:
parent
01c9ec53b9
commit
0da6e20f4a
1 changed files with 31 additions and 2 deletions
33
gitconfig
33
gitconfig
|
@ -1,8 +1,30 @@
|
||||||
|
# Color palette translation:
|
||||||
|
#
|
||||||
|
# Solarized Git/ANSI
|
||||||
|
# --------- --------
|
||||||
|
# base03 bold black
|
||||||
|
# base02 black
|
||||||
|
# base01 bold green
|
||||||
|
# base00 bold yellow
|
||||||
|
# base0 bold blue
|
||||||
|
# base1 bold cyan
|
||||||
|
# base2 white
|
||||||
|
# base3 bold white
|
||||||
|
# red red
|
||||||
|
# green green
|
||||||
|
# blue blue
|
||||||
|
# magenta magenta
|
||||||
|
# yellow yellow
|
||||||
|
# cyan cyan
|
||||||
|
# orange bold red
|
||||||
|
# violet bold magenta
|
||||||
|
|
||||||
[alias]
|
[alias]
|
||||||
a = add
|
a = add
|
||||||
aa = add --all
|
aa = add --all
|
||||||
b = branch
|
b = branch
|
||||||
ba = branch --all
|
ba = branch --all
|
||||||
|
bav = branch --all --verbose
|
||||||
bd = branch --delete
|
bd = branch --delete
|
||||||
cm = commit --verbose
|
cm = commit --verbose
|
||||||
co = checkout
|
co = checkout
|
||||||
|
@ -11,8 +33,8 @@
|
||||||
dc = diff --cached
|
dc = diff --cached
|
||||||
dt = difftool
|
dt = difftool
|
||||||
ff = merge --ff-only
|
ff = merge --ff-only
|
||||||
l = log --graph --format='%C(auto)%h%Cred%d %Creset%s %Cblue(%ar)'
|
l = log --graph --format='%C(auto)%h%d %s %C(auto,bold green)%ar'
|
||||||
la = log --graph --format='%C(auto)%h%Cred%d %Creset%s %Cblue(%ar)' --all
|
la = log --graph --format='%C(auto)%h%d %s %C(auto,bold green)%ar' --all
|
||||||
ll = log --graph --decorate --stat
|
ll = log --graph --decorate --stat
|
||||||
lla = log --graph --decorate --stat --all
|
lla = log --graph --decorate --stat --all
|
||||||
pom = push origin master
|
pom = push origin master
|
||||||
|
@ -32,6 +54,13 @@
|
||||||
[color]
|
[color]
|
||||||
ui = auto
|
ui = auto
|
||||||
|
|
||||||
|
[color "decorate"]
|
||||||
|
branch = blue
|
||||||
|
remoteBranch = bold red # orange
|
||||||
|
tag = green
|
||||||
|
stash = bold magenta
|
||||||
|
HEAD = cyan
|
||||||
|
|
||||||
[color "diff"]
|
[color "diff"]
|
||||||
meta = blue
|
meta = blue
|
||||||
frag = bold magenta # violet in solarized
|
frag = bold magenta # violet in solarized
|
||||||
|
|
Loading…
Add table
Reference in a new issue