-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot_gitconfig.tmpl
84 lines (70 loc) · 1.63 KB
/
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{{- if eq .chezmoi.hostname "eagleusb" -}}
[user]
email = [email protected]
name = eagleusb
signingKey = 824A5AB11D73DC3947F25D1891D179E02A64E836
{{- else -}}
[user]
email = [email protected]
name = eagleusb
signingKey = 261A9BBA20205A3EFDEBAF26A293DEC498A799F3
{{- end }}
[alias]
ad = add --all
added = difftool --cached
author = commit --amend --author
br = branch -a
branches = branch -a
ca = commit -a
cm = commit -m
co = checkout
dc = difftool --cached
di = difftool
ds = difftool --staged
hist = log --graph --abbrev-commit --date=auto:human --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'
lg = log --oneline --graph --decorate
ls = ls-files
lsi = ls-files --others --i --exclude-standard
pu = push
pud = push --dry-run
rb = rebase
rba = rebase --abort
rbc = rebase --continue
rbi = rebase -i
remotes = remote -v
st = status
subinit = submodule update --init --recursive
subpull = submodule foreach git pull
tags = tag -l
[help]
browser = firefox
format = man
[color]
ui = always
[core]
editor = micro
[diff]
tool = icdiff
[difftool]
prompt = false
[difftool "icdiff"]
cmd = icdiff --no-bold --line-numbers --highlight $LOCAL $REMOTE
[pager]
difftool = true
[icdiff]
options = --highlight --line-numbers --no-bold
[rebase]
autosquash = true
stat = true
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[commit]
gpgSign = true
[protocol]
version = 2
[pull]
rebase = false
ff = only