-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.gitconfig
More file actions
65 lines (54 loc) · 1.01 KB
/
.gitconfig
File metadata and controls
65 lines (54 loc) · 1.01 KB
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
[core]
pager = less -q -R
preloadindex = true
editor = vim
autocrlf = false
[init]
defaultBranch = main
[color]
diff = auto
status = auto
branch = auto
grep = auto
[alias]
st = status
co = checkout
sw = switch
ci = commit -v
di = diff
diffs = diff --cached
ds = diff --cached
pp = pull --prune
cp = cherry-pick
vacuum = !"f () { \
git checkout $1; \
git branch --merged|grep -E -v '\\*|develop|main|master'|xargs git branch -d; \
git fetch --prune; \
};f"
home = !"f () { \
git fetch origin $1 && \
git update-ref refs/heads/$1 origin/$1 && \
git switch $1; \
};f"
dev = home develop
[pull]
rebase = false
[push]
autoSetupRemote = true
[user]
name = neji
email = mail@nejixxx.com
signingkey = 95AE0F1581DEEBC7
[diff]
compactionHeuristic = true
[ghq]
root = ~/go/src
[url "git@github.com:"]
insteadOf = https://github.com/
[commit]
gpgsign = true
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true