dotfiles/gitconfig

20 lines
528 B
Plaintext

[color]
diff = auto
status = auto
branch = auto
ui = true
[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