rc/gitconfig

33 lines
690 B
Text

[core]
excludesfile = ~/.gitignore_global
[include]
path = ~/.git_user
[master]
autosetuprebase = always
[color]
ui = auto
[push]
default = current
[merge]
tool = vimdiff
conflictstyle = diff3
[alias]
# Basics
st = status -s
cl = clone
cm = commit -m
cma = commit -am
ck = checkout
br = branch
gr = grep -I
# Tweak defaults
bra = branch -ra
# List aliases
la = "!git config -l | grep alias | cut -c 7-"
# Pretty branch graph
lg = log --oneline --abbrev-commit --all --graph --decorate --color
# Same but also list modified files
lf = log --oneline --name-status --all --graph --decorate --color