-
Notifications
You must be signed in to change notification settings - Fork 1
/
dot_gitconfig.tmpl
62 lines (49 loc) · 1006 Bytes
/
dot_gitconfig.tmpl
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
[alias]
lg = "log --color --graph --abbrev-commit --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset'"
ignore = "!gi() { curl -sL https://www.toptal.com/developers/gitignore/api/$@ ;}; gi"
a = add
ci = commit
ch = checkout
cl = clean
cldf = clean -df
d = diff
l = lg
rb = rebase
rbi = rebase -i
rs = reset
rsh = reset --hard
rst = restore
pl = pull
ps = push
psf = push --force
psfwl = push --force-with-lease
s = status
st = stash
stc = stash clear
stp = stash pop
stu = stash -u
[commit]
gpgsign = true
[core]
ignorecase = false
[credential "https://github.com"]
helper = !gh auth git-credential
[diff]
tool = codium
[difftool]
prompt = false
[difftool "codium"]
cmd = codium -nwd $LOCAL $REMOTE
[merge]
conflictstyle = diff3
tool = codium
[mergetool]
keepBackup = false
[mergetool "codium"]
cmd = codium --wait --new-window $MERGED
[pull]
rebase = true
[push]
default = simple
[user]
name = {{ .name | quote }}