-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gitconfig
66 lines (59 loc) · 1.62 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
[filter "media"]
clean = git-media-clean %f
smudge = git-media-smudge %f
[user]
name = Jonathan Lange
email = [email protected]
signingkey = 2A727997
[alias]
st = status
ci = commit
co = checkout
di = diff
unstage = reset HEAD --
last = log -1 HEAD
find-merge = "!sh -c 'commit=$0 && branch=${1:-HEAD} && (git rev-list $commit..$branch --ancestry-path --merges | cat -n; git rev-list $commit..$branch --first-parent | cat -n) | sort -k2 | uniq -f1 -d | sort -n | tail -1 | cut -f2'"
show-merge = "!sh -c 'merge=$(git find-merge $0 $1) && [ -n \"$merge\" ] && git show $merge'"
merged = "!sh -c 'git branch --merged ${1:-master} | grep -v -e \"\\<${1:-master}\\>\"'"
clean-merged = "!sh -c 'git branch -d $(git merged | grep -v \"^*\")'"
unmerged = "!sh -c 'git branch --no-merged ${1:-master}"
new = !git init && git symbolic-ref HEAD refs/heads/trunk
[color]
ui = true
[push]
default = simple
[svn]
rmdir = true
[pull]
ff = only
[filter "lfs"]
clean = git-lfs clean %f
smudge = git-lfs smudge %f
required = true
[url "git+ssh://[email protected]/"]
insteadof = lp:
[url "git+ssh://[email protected]/~jml/+git/"]
insteadof = lpme:
[credential]
helper = cache --timeout=3600
[core]
excludesfile = /Users/jml/.gitignore_global
pager = "delta --dark"
[github]
user = jml
# https://mobile.twitter.com/glyph/status/1359955841810530304
[protocol "http"]
allow = never
[protocol "git"]
allow = never
[fetch]
fsckObjects = true
[transfer]
fsckObjects = true
[receive]
fsckObjects = true
[fetch "fsck"]
zeroPaddedFilemode = ignore
badTimezone = ignore
[init]
defaultBranch = main