-
Notifications
You must be signed in to change notification settings - Fork 4
/
.gitconfig
90 lines (90 loc) · 2.66 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
86
87
88
89
90
[init]
defaultBranch = master
[user]
email = jakub@status.im
name = Jakub Sokołowski
signingkey = FE65CD384D5BF7B4
[core]
editor = nvim
quotePath = false
commitGraph = true
autocrlf = input
whitespace = trailing-space,space-before-tab
[apply]
whitespace = fix
[diff]
tool = vimdiff
[merge]
tool = vimdiff
conflictstyle = diff3
[alias]
a = add
b = branch
bl = for-each-ref --sort=committerdate refs/heads/ --format='%(color: red)%(objectname:short) %(color: cyan)%(committerdate:iso) %(align:width=25)%(color:bold yellow)%(authorname)%(end) %(color:bold green)>%(color:reset) %(refname:short)'
cf = cat-file
cat = cat-file
co = checkout
cp = cherry-pick
df = diff
f = fetch
l = log --oneline --decorate
ls = ls-files
c = commit --verbose --no-verify --gpg-sign --signoff
fix = commit --verbose --no-verify --gpg-sign --signoff --fixup
m = commit --verbose --no-verify --gpg-sign --signoff --amend
mm = commit --verbose --no-verify --gpg-sign --signoff --amend --no-edit
mp = !git mm && git ps -f
pl = pull
plf = pull --force --rebase
plh = !git fetch --verbose origin $(git rev-parse --abbrev-ref HEAD) && git rebase origin/$(git rev-parse --abbrev-ref HEAD)
pr = ! git fetch origin pull/$1/head:PR-$1 && git checkout PR-$1 && echo PR
ps = push
psf = push --force
psh = !git push origin $(git rev-parse --abbrev-ref HEAD)
r = rebase
re = rebase
rc = rebase --continue
rl = reflog
rs = reset
rsh = reset --hard
rst = reset --hard HEAD
s = stash
st = status
sl = log --pretty=format:'%<(8)%Cred%h%Creset %C(cyan)%ai%Creset %C(bold yellow)%<(20)%an %C(bold green)>%Creset %s %C(yellow)%d%Creset' --abbrev-commit
sla = log --pretty=format:'* %h %s %d' --abbrev-commit
slg = log --graph --pretty=format:'%<(8)%Cred%h%Creset %C(cyan)%ai%Creset %Cgreen(%<(12)%cr) %C(bold blue)%<(21)<%an>%Creset %s %C(yellow)%d%Creset' --abbrev-commit
sm = submodule
smu = submodule update --init --recursive
u = url
up = branch --set-upstream-to
x = sync
[branch "master"]
remote = origin
merge = refs/heads/master
[credential]
helper = cache --timeout=1800
[color]
ui = true
[push]
default = current
[pull]
default = current
ff = only
[difftool]
prompt = false
[web]
browser = brave
[commit]
gpgsign = true
[gpg]
program = gpg
[receive]
advertisePushOptions = true
[gc]
writeCommitGraph = true
[advice]
detachedHead = false
[filter "fix-eol-eof"]
clean = fixup-eol-eof %f
smudge = cat %f
required = true