-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitconfig
57 lines (56 loc) · 1.38 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
[user]
name = Dave Kroondyk
email = dave@vanillabean.dev
signingKey = ~/.ssh/id_ed25519.pub
[alias]
ci = commit
st = status
co = checkout
aa = add --all
di = diff
dc = diff --cached
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
delete-merged-branches = !git branch --merged master | grep -v -e 'master' -e '\\*' | xargs -n 1 git branch -d && git remote prune origin
delete-squashed-branches = !comm -12 <$(git branch | sed 's/ *//g') <$(git remote prune origin | sed 's/^.*origin\\///g') | xargs -L1 -J % git branch -D %
[color]
status = auto
diff = auto
branch = auto
[merge]
tool = p4merge
conflictStyle = zdiff3
[mergetool]
keepBackup = false
[branch]
autoSetupRebase = always
sort = -committerdate
[push]
default = simple
autoSetupRemote = true
[filter "media"]
required = true
clean = git media clean %f
smudge = git media smudge %f
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
required = true
process = git-lfs filter-process
[gpg]
format = ssh
[gpg "ssh"]
allowedSignersFile = ~/.ssh/allowed_signers
[commit]
gpgSign = true
[core]
editor = vim
[includeIf "gitdir:~/projects/"]
path = ~/projects/.gitconfig
[fetch]
prune = true
[pull]
rebase = true
[remote]
pushDefault = origin
[init]
defaultBranch = main