-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig
More file actions
65 lines (65 loc) · 1.08 KB
/
config
File metadata and controls
65 lines (65 loc) · 1.08 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
[alias]
a = add
ae = a -e
ba = branch
bach = "!f() { \
git ba \"$1\" \
&& git ch \"$1\"; \
}; f"
bd = ba -d
bfd = ba -D
ch = checkout
cl = clone
cl1 = cl --depth=1
co = commit -sm
coa = "!f() { \
local message=\"$1\"; \
local author=\"$2\"; \
git co \"${message}\" --author \"${author}\"; \
}; f"
cota = "!f() { \
local version=\"v$(cat VERSION)\"; \
git co \"$1\" \
&& git ta \"${version}\"; \
}; f"
fu = "!f() { \
git fetch upstream \
&& git ch master \
&& git rebase upstream/master; \
}; f"
fup = !git fu && git pat
p = push
pa = push --all
pt = push --tags
pat = !git pa && git pt
r = remote
ra = r add
ru = r set-url
rua = ru --add
rud = ru --delete
rl = r -v
rr = r remove
s = status
t = tag
ta = "!f() { \
git t -am \"$1\" \"$1\"; \
}; f"
td = t -d
tl = t -l
[commit]
gpgSign = true
[core]
editor = vim
gitProxy = git-proxy
pager = less
[include]
path = ~/.config/git/config-secret
[init]
defaultBranch = main
[http]
proxy = socks5h://127.0.0.1:9050
[http "http://*.loki"]
proxy =
[tag]
forceSignAnnotated = true
gpgSign = true