68 lines
1.3 KiB
Text
68 lines
1.3 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
|
|
bl = branch --list --format='%(refname:lstrip=2)'
|
|
bn = symbolic-ref --short HEAD
|
|
bp = branch-prune
|
|
bv = branch -vv
|
|
c = commit
|
|
chk = commit -a -n -m 'CHECKPOINT'
|
|
co = checkout
|
|
cp = cherry-pick
|
|
dc = diff --cached
|
|
d = diff
|
|
dn = diff --name-only --relative
|
|
dw = diff --word-diff
|
|
dww = diff --word-diff --word-diff-regex=.
|
|
fb = fetch-branch
|
|
f = fetch
|
|
fp = fetch --prune
|
|
fixup = commit --amend --no-edit
|
|
lag = log --graph --decorate --pretty='%C(auto)%h%d %s | %C(cyan)%an%C(reset) %C(green)<%ar>%C(reset)'
|
|
lcg = log --graph --decorate --pretty='%C(auto)%h%d %s | %C(cyan)%cn%C(reset) %C(green)<%cr>%C(reset)'
|
|
lg = lag
|
|
mb = merge-base HEAD
|
|
pushf = push --force-with-lease
|
|
pushu = "!pushu() { git push --set-upstream \"${1:-origin}\" \"${2:-$(git bn)}\"; }; pushu"
|
|
rb = rebase
|
|
root = rev-parse --show-toplevel
|
|
sb = show-branch
|
|
s = status
|
|
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
|