-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
85 lines (79 loc) · 2 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
[user]
email = [email protected]
name = Emmie Maeda
signingkey = "2C3CF0C7"
[init]
defaultBranch = main
[core]
editor = vim
precomposeunicode = true
pager = diff-so-fancy | less --tabs=4 -RFX
autocrlf = input
[color]
branch = auto
diff = auto
status = auto
showbranch = auto
ui = true
[credential]
helper = cache --timeout 1800
[push]
default = simple
[alias]
last = log -1 HEAD
edit = !vim -p $(git ls-files -m | uniq)
unstage = restore --staged --
discard = checkout --
cached = diff --cached
amend = commit --amend
pushfl = push --force-with-lease
master = checkout master
main = checkout main
develop = checkout develop
graph = log --graph --branches --remotes --tags --format=format:'%Cgreen%h %Creset• %<(75,trunc)%s (%cN, %cr) %Cred%d' --date-order
wdiff = diff --word-diff=color --word-diff-regex=.
untrack = rm -r --cached
branches = branch -a
tags = tag
stashes = stash list
remotes = remote -a
[commit]
gpgsign = false
[push]
default = current
[pull]
rebase = true
[interactive]
diffFilter = diff-so-fancy --patch
[diff-so-fancy]
markEmptyLines = false
stripLeadingSymbols = false
[url "https://aur.archlinux.org/"]
insteadOf = aur://
[url "https://ssh+git://aur4.archlinux.org/"]
pushInsteadOf = aur://
[url "https://github.com/"]
insteadOf = gh://
[url "[email protected]:"]
pushInsteadOf = gh://
insteadOf = gh2://
[url "https://gitlab.com/"]
insteadOf = gl://
[url "[email protected]:"]
pushInsteadOf = gl://
insteadOf = gl2://
[url "https://git.ammonsmith.me/"]
insteadOf = gt://
[url "[email protected]:"]
pushInsteadOf = gt://
insteadOf = gt2://
[url "https://git.programming.im/"]
insteadOf = tps://
[url "[email protected]:"]
pushInsteadOf = tps://
insteadOf = tps2://
[filter "lfs"]
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f