-
Notifications
You must be signed in to change notification settings - Fork 6
/
.gitconfig
92 lines (92 loc) · 3.11 KB
/
.gitconfig
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
[user]
name = William Casarin
email = jb55@jb55.com
signingkey = 0x5B2B1E4F62216BC74362AC61D4FBA2FC4535A2A9
[color]
diff = auto
status = auto
[core]
excludesfile = /Users/jb55/.gitignore_global
editor = nvim
[sendemail]
smtpServer=/run/current-system/sw/bin/sendmail
[url "git@github.com:"]
insteadOf = gh:
[url "git@gl.blockstream.io:blockstream/"]
insteadOf = gl:
[url "git@gitlab.com:"]
insteadOf = gitlab:
[url "jb55.com:git/"]
insteadOf = dev:
[url "ssh://git@phabricator.monstercat.com/diffusion/"]
insteadOf = phab:
[url "http://git.monster.cat/"]
insteadOf = mcat:
[url "http://git.zero.jb55.com/"]
insteadOf = zero:
[url "http://git.razorcx.com/"]
insteadOf = razor:
[gui]
recentrepo = /Users/jb55/src/js/titania
[alias]
a = add
au = add -u
f = fetch -p
br = symbolic-ref --short HEAD
ca = commit --amend
c = commit
cloner = clone --recursive
d = diff
default = !git config branch.master.remote origin && git config branch.master.merge refs/heads/master
ds = diff --staged
ff = merge --ff-only
hash = !"git rev-parse HEAD | tr -d '\n' | xclip"
lg1 = log --graph --branches --tags --remotes --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %s %C(bold)— %an%C(reset)%C(bold yellow)%d%C(reset)' --abbrev-commit --date=relative
lgl = log --format='%h %cr %s'
lg2 = log --no-merges --topo-order --date=relative --pretty=format:'%C(auto,yellow)%h%C(auto,magenta)% %C(auto,blue)%>(12,trunc)%ad %C(auto,green) %C(auto,reset)%s%C(reset)% %C(bold) — %an%C(reset)%C(bold yellow)%d%C(reset)'
lg3 = log --graph --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %s %C(bold)— %an%C(reset)%C(bold yellow)%d%C(reset)' --abbrev-commit --date=relative
lg = !"git lg1"
lgrep = log --grep
line = log --oneline
lineg = log --oneline --graph
l = log
muff = merge --no-ff
prs = log --no-merges --date=local --author-date-order --glob='pull/origin/*'
prs-merged = log --merges --date=local --author-date-order --glob='pull/origin/*'
puff = pull --ff-only
rc = rebase --continue
refl = reflog --date=relative
r = rebase
serve = !git daemon --reuseaddr --verbose --base-path=. --export-all ./.git
s = status
stat2 = log --stat --pretty=format:'%C(auto,yellow)%h%C(auto,magenta)% G? %C(auto,blue)%>(12,trunc)%cr %C(auto,green)%aN %C(auto,red)%D %n%n %C(auto,reset)%s%n'
st = status -sb
tagd = !"git tag --format='%(creatordate:short)%09%(refname:strip=2)' | sort"
tg = log --date-order --tags --simplify-by-decoration --pretty=format:'%ai %h %d'
try = merge --no-commit --no-ff
co = checkout
fixes = show -s --pretty='format:Fixes: %h (\"%s\")'
[rebase]
autosquash = true
[pull]
rebase = true
[diff]
colorMoved = dimmed-zebra
colorMovedWs = allow-indentation-change
[push]
default = simple
[rerere]
enabled = false
autoupdate = false
[http "https://git.monstercat.com"]
sslCAInfo = /home/jb55/.flynn/ca-certs/default.pem
[credential "https://git.monstercat.com"]
helper = /home/jb55/bin/flynn git-credentials
[gpg]
program = gpg
[magit]
hideCampaign = true
[github]
user = jb55
[commit]
template = /home/jb55/.git-template