dotfiles/.gitconfig

33 lines
899 B
INI

[core]
pager = less -q
[color]
ui = auto
[user]
email = zyeryi@gmail.com
name = Alexander Schmidt
[alias]
ls = log -n 16 --pretty=format:"%C(yellow)%h\\ %C(cyan)[%cn]\\ %C(reset)%s\\ %C(red)%d" --decorate
lo = log --pretty=format:"%C(yellow)%h\\ %C(cyan)[%cn]\\ %C(reset)%s\\ %C(red)%d" --decorate
ll = log --pretty=format:"%C(yellow)%h\\ %C(cyan)[%cn]\\ %C(reset)%s\\ %C(red)%ad" --decorate --date=short --stat
tree = log --pretty=format:"%C(yellow)%h\\ %C(cyan)[%cn]\\ %C(reset)%s\\ %C(red)%d" --decorate --graph
graph = log --graph --date-order --all --pretty=format:'%h %Cred%d %Cgreen%ad %Cblue%cn %Creset%s' --date=short
unstage = reset HEAD
st = status
ch = checkout
ci = commit
br = branch
[help]
autocorrect = 1
[diff]
tool = vimdiff
algorithm = histogram
compactionHeuristic = true
[merge]
tool = vimdiff