75 lines
1.5 KiB
Text
75 lines
1.5 KiB
Text
[blame]
|
|
markIgnoredLines = true
|
|
markUnblameableLines = true
|
|
|
|
[color]
|
|
ui = true
|
|
|
|
[diff]
|
|
colorMoved = default
|
|
wsErrorHighlight = all
|
|
|
|
# https://gist.github.com/tekin/12500956bd56784728e490d8cef9cb81#gistcomment-3500150
|
|
[diff "rspec"]
|
|
xfuncname = "^[ \t]*((RSpec|describe|context|it|before|after|around|feature|scenario|background)[ \t].*)$"
|
|
|
|
[init]
|
|
defaultBranch = main
|
|
|
|
[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
|
|
sw = switch
|
|
untracked = ls-files --others --exclude-standard
|
|
|
|
[credential]
|
|
helper = cache
|
|
|
|
[commit]
|
|
verbose = true
|
|
|
|
[core]
|
|
attributesfile = ~/.gitattributes
|
|
excludesfile = ~/.gitignore
|
|
|
|
[include]
|
|
path = config-os
|
|
path = config-role
|
|
path = config-secrets
|