2021-11-09 00:33:05 +01:00
|
|
|
[alias]
|
|
|
|
a = add
|
2021-11-19 15:38:50 +01:00
|
|
|
ae = a -e
|
2021-11-09 00:33:05 +01:00
|
|
|
ba = branch
|
|
|
|
bach = "!f() { \
|
2021-11-23 23:12:37 +01:00
|
|
|
git ba \"$1\" \
|
|
|
|
&& git ch \"$1\"; \
|
2021-11-09 00:33:05 +01:00
|
|
|
}; 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)\"; \
|
2021-11-23 23:12:37 +01:00
|
|
|
git co \"$1\" \
|
|
|
|
&& git ta \"${version}\"; \
|
2021-11-09 00:33:05 +01:00
|
|
|
}; f"
|
|
|
|
fu = "!f() { \
|
2021-11-23 23:12:37 +01:00
|
|
|
git fetch upstream \
|
|
|
|
&& git ch master \
|
|
|
|
&& git rebase upstream/master; \
|
2021-11-09 00:33:05 +01:00
|
|
|
}; f"
|
2021-11-19 15:35:08 +01:00
|
|
|
fup = !git fu && git pat
|
2021-11-09 00:33:05 +01:00
|
|
|
p = push
|
|
|
|
pa = push --all
|
|
|
|
pt = push --tags
|
2021-11-13 03:09:57 +01:00
|
|
|
pat = !git pa && git pt
|
2021-11-09 00:33:05 +01:00
|
|
|
r = remote
|
|
|
|
ra = r add
|
2021-11-12 02:14:53 +01:00
|
|
|
ru = r set-url
|
|
|
|
rua = ru --add
|
|
|
|
rud = ru --delete
|
2021-11-09 00:33:05 +01:00
|
|
|
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
|
|
|
|
pager = less
|
|
|
|
[include]
|
|
|
|
path = ~/.config/git/config-secret
|
|
|
|
[init]
|
|
|
|
defaultBranch = main
|
|
|
|
[http]
|
|
|
|
proxy = socks5h://127.0.0.1:9050
|
2021-11-19 15:42:55 +01:00
|
|
|
[http "http://*.loki"]
|
|
|
|
proxy =
|
2021-11-09 00:33:05 +01:00
|
|
|
[tag]
|
|
|
|
forceSignAnnotated = true
|
|
|
|
gpgSign = true
|