Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
name = Brad Wilson
email =
signingkey = 0B7BD15AD1EC5FDE
a = add -A
abort = rebase --abort
amend = commit --amend -C HEAD
blame = blame -w -M -C
br = branch
cat = cat-file -t
ci = commit -a
co = checkout
cp = cherry-pick
d = diff -w --patience
dc = diff -w --patience --cached
df = diff --word-diff=color --word-diff-regex=. -w --patience
diff = diff --compaction-heuristic
down = pull --progress
dt = difftool
dump = cat-file -p
fh = !git log --format=format:'%C(bold cyan)%ar %C(reset) %C(green)%f' --name-status
go = rebase --continue
h = !git log --graph --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
hs = !git h --max-count=10
in = log --pretty=format:\"%h %ad | %s%d [%an]\" --date=short ..@{u}
l = log --pretty=format:\"%h %ad | %s%d [%an]\" --date=short
lg = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
mt = mergetool
out = log --pretty=format:\"%h %ad | %s%d [%an]\" --date=short @{u}..
pick = add -p
pr = !"pr() { git fetch origin pull/$1/head:pr-$1; git checkout pr-$1; }; pr"
r = add --refresh
re = rebase
scorch = clean -xdf -e packages -e .nuget -e nuget.exe -e *.dbmdl -e *.suo -e *.user -e .vs -e .vagrant -e .dotnet -e .idea -e .vscode -e node_modules
skip = rebase --skip
st = status -sb
stats = diff --stat
tag = tag -s
undo = reset HEAD~
up = push
wipe = !git add -A && git commit -qm 'WIPE SAVEPOINT' && git reset HEAD~1 --hard
[color "branch"]
current = red bold
local = normal
remote = yellow bold
plain = normal
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
header = normal
added = red bold
updated = green bold
changed = cyan bold
untracked = cyan bold
nobranch = red bold
gpgSign = true
longpaths = true
tool = bc
[diff "astextplain"]
textconv = astextplain
prompt = false
[difftool "bc"]
trustExitCode = true
cmd = bcompare \"$LOCAL\" \"$REMOTE\"
[difftool "p4merge"]
cmd = launchp4merge \"$LOCAL\" \"$REMOTE\"
keepBackup = false
trustExitCode = false
prune = true
tool = bc
prompt = false
keepBackup = false
[mergetool "bc"]
trustExitCode = true
cmd = bcompare \"$LOCAL\" \"$REMOTE\" \"$BASE\" \"$MERGED\"
[mergetool "p4merge"]
cmd = launchp4merge \"$BASE\" \"$LOCAL\" \"$REMOTE\" \"$MERGED\"
keepTemporaries = false
trustExitCode = false
keepBackup = false
packSizeLimit = 2g
default = current
rebase = true
autosquash = true
forceSignAnnotated = true
[filter "lfs"]
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
[filter "encrypt"]
smudge = gitcrypt smudge
clean = gitcrypt clean
[diff "encrypt"]
textconv = gitcrypt diff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment