/
gitconfig.symlink
74 lines (74 loc) · 2.14 KB
/
gitconfig.symlink
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
[user]
name = George Gritsouk
email = george.gritsouk@gmail.com
[alias]
unstage = reset -q HEAD --
discard = checkout --
nevermind = !git reset --hard HEAD && git clean -d -f
uncommit = reset --mixed HEAD~
save = commit -m
resave = commit --amend
invert = revert
last = log -1 HEAD --format=format:"%Cred%H"
copy-last-hash = !git last | pbcopy
summary = status -u -s
graph = log --graph -10 --branches --remotes --tags --format=format:'%Cgreen%h %Creset• %<(75,trunc)%s (%cN, %ar) %Cred%d' --date-order
history = log -10 --format=format:'%Cgreen%h %Creset%s (%aN, %ar)'
new-branch = checkout -b
rename-branch = branch -m
delete-branch = branch -D
branches = branch
recent-branches = branch -a --sort=committerdate
branchout = checkout -b
tags = tag
stashes = stash list
prestage = diff
precommit = diff --cached
remotes = remote -v
move = mv
remove = rm
unmerged = branch --no-merged
unstash = stash pop
what = show
untrack = rm -r --cached
rewrite = rebase -i
amend = commit --amend --no-edit
amend-message = commit --amend
back = checkout "-"
contributors = shortlog -s -n --no-merges
file-trail = log --follow -p -w
merge-trail = log --ancestry-path --merges
unmerged = diff --name-only --diff-filter=U
patch = add --patch
tuck = stash save
untuck = stash pop "stash@{0}"
boop = "!f() { B=$(git rev-parse --abbrev-ref HEAD); git commit --allow-empty -m 'Boop!'; git push origin $B; }; f"
aliases = !git config --get-regexp ^alias\\. | sed -e s/^alias\\.// -e s/\\ /\\:\\ /
track = "!f() { B=$(git rev-parse --abbrev-ref HEAD); git branch --set-upstream-to=origin/$B; }; f"
[advice]
statusHints = false
[diff]
compactionHeuristic = true
indentHeuristic = true
algorithm = patience
[interactive]
diffFilter = diff-highlight
[pager]
diff = diff-highlight | less
log = diff-highlight | less
show = diff-highlight | less
[blame]
date = relative
[push]
default = current
[core]
editor = nvim
precomposeunicode = true
excludesfile = ~/.gitignore_global
untrackedCache = true
[credential]
helper = osxkeychain
[merge]
conflictstyle = diff3
[mailmap]
file = ~/.mailmap