-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
49 lines (49 loc) · 1.19 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
[push]
default = matching
[core]
autocrlf = input
excludesfile = ~/.dotfiles/gitignore_global
[color]
diff = auto
status = auto
branch = auto
ui = true
[alias]
a = add
aa = add --all
aliases = !git config --list | grep 'alias.' | sed 's/^alias.//' | sed 's/=/ => /'
amend = commit --amend
br = branch
ci = commit -a
co = checkout
graph = log --graph --pretty=format:'%C(yellow)%h%C(reset) -%C(cyan)%d%C(reset) %s %Cgreen(%cr) %C(bold blue)<%an>%C(reset)' --abbrev-commit --date=relative
last = log -1 HEAD
lg = log --stat --relative-date
st = status
reset = checkout --
unstage = reset HEAD --
[apply]
whitespace = nowarn
[mergetool]
keepBackup = false
[pull]
rebase = false
[help]
autocorrect = 1
[filter "lfs"]
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
[user]
# This key doesn't exist, causing commits to fail
# unless there's an appropriate override.
signingkey = invalid-key-does-not-exist-00000000
[commit]
# Force signing across all machines.
gpgsign = true
[gpg]
program = gpg
[include]
# Include should always be last so local can override any config value.
path = ~/.dotfiles/gitconfig.local