dotfiles/gitconfig

34 lines
759 B
Plaintext

[color]
diff = auto
status = auto
branch = auto
ui = true
[color "branch"]
current = green bold
local = yellow
remote = magenta
[color "diff"]
meta = yellow bold
frag = cyan
old = red
new = green
[color "status"]
added = green
untracked = cyan
changed = yellow
branch = magenta
[core]
preloadindex = true
autocrlf = input
safecrlf = true
eol = lf
pager = less -R
[alias]
lg = log --color --pretty=format:'%Cblue%h%Creset - %C(magenta bold)%d%Creset %s %Cgreen(%ar) %C(bold red)<%an>%Creset' --abbrev-commit --no-merges
graph = log --color --pretty=format:'%Cblue%h%Creset - %C(magenta bold)%d%Creset %s %Cgreen(%ar) %C(bold red)<%an>%Creset' --abbrev-commit --graph
ma = checkout master
rb = rebase master
co = checkout
ci = commit