1
0
Fork 0
dotfiles/git/config
2020-02-13 12:31:02 -08:00

53 lines
1.1 KiB
Text

[blame]
markIgnoredLines = true
markUnblameableLines = true
[color]
ui = true
[diff]
colorMoved = default
wsErrorHighlight = all
[merge]
conflictStyle = diff3
ff = only
[pull]
ff = only
[push]
default = simple
[alias]
ap = add -p
b = branch
bv = branch -vv
c = commit
chk = commit -a -n -m 'CHECKPOINT'
co = checkout
cp = cherry-pick
d = diff
dc = diff --cached
dn = diff --name-only --relative
dw = diff --word-diff
f = fetch
fb = "!fb() { git fetch \"$1\" \"$2\":\"$2\"; }; fb"
fp = fetch --prune
lag = log --graph --decorate --pretty='%C(auto)%h%d %s | %C(cyan)%an%C(reset) %C(green)<%ar>%C(reset)'
lg = log --graph --decorate --pretty='%C(auto)%h%d %s | %C(cyan)%cn%C(reset) %C(green)<%cr>%C(reset)'
mb = merge-base HEAD
pushf = push --force-with-lease
rb = rebase
root = rev-parse --show-toplevel
s = status
sb = show-branch
untracked = ls-files --others --exclude-standard
[credential]
helper = cache
[commit]
verbose = true
[core]
excludesfile = ~/.gitignore
[include]
path = config-os
path = config-role
[includeIf "gitdir:~/projects/"]
path = config-personal