-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
83 lines (82 loc) · 2.58 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
[init]
defaultBranch = master
[user]
email = alexis@status.im
name = Alexis Pentori
signingkey = E1ADF100D32E73C2
[core]
editor = nvim
quotePath = false
commitGraph = true
autocrlf = input
whitespace = trailing-space,space-before-tab
[diff]
tool = vimdif
[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
pl = pull
plf = pull --force --rebase
ps = push
psf = push --force
r = rebase
rc = git rebase --continue
rl = reflog
rs = reset
rsh = reset --hard
rst = reset --hard HEAD
s = stash
st = status -sb
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
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
[apply]
whitespace = fix
[filter "fix-eol-eof"]
clean = fixup-eol-eof %f
smudge = cat %f
required = true