-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
59 lines (45 loc) · 1.19 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
[url "[email protected]:"]
insteadOf = https://github.com/
[user]
email = [email protected]
name = Victor Conner
editor = "nvim"
signingkey = 12B0C3A210C96A594771046CD0356B9B43EBDC1E
[core]
excludesfile = ~/.gitignore_global
[includeif "gitdir:~/code/personal/"]
path = ~/code/personal/.gitconfig
[includeif "gitdir:~/code/work/"]
path = ~/code/work/.gitconfig
[log]
showSignature = false
[commit]
gpgSign = true
[push]
default = current
autoSetupRemote = true
[pull]
rebase = true
[merge]
ff = only
[fetch]
prune = true
[alias]
sla = log --oneline --decorate --graph --all --no-show-signature
glog = log -E -i --grep
unstage = reset
uncommit = reset --soft HEAD^
mup = !git checkout master && git pull && git checkout -
upstream = rev-parse --abbrev-ref --symbolic-full-name @{u}
ureset = !git upstream && git reset --hard $(git upstream)
set-upstream = !git branch --set-upstream-to=origin/`git symbolic-ref --short HEAD`
udiff = !git diff origin/`git symbolic-ref --short HEAD`
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[gpg]
program = gpg
[url "[email protected]:"]
insteadOf = https://github.com/