-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
47 lines (47 loc) · 1.07 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
[user]
name = Brian Weaver
email = [email protected]
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
required = true
process = git-lfs filter-process
[core]
excludesfile = ~/.gitignore_global
commentChar = ";"
pager = delta
[diff]
algorithm = histogram
[interactive]
diffFilter = delta --color-only
[commit]
template = ~/.gitmessage
[merge]
conflictstyle = zdiff3
[rebase]
autosquash = true
updateRefs = true
[pull]
rebase = true
[push]
default = current
autoSetupRemote = true
[alias]
stashdiff = stash show -
wip = !"git add --all; git ls-files --deleted -z | xargs -0 git rm; git commit --message=WIP"
unwip = !"git log -n 1 | grep -q -c 'WIP' && git reset HEAD~1"
lg = log --graph --pretty=tformat:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --decorate=full
[init]
defaultBranch = main
[hub]
protocol = ssh
[fetch]
prune = true
[blame]
ignoreRevsFile = .git-blame-ignore-revs
; [url "ssh://git@"]
; insteadOf = git://
[github]
user = bweave
[rerere]
enabled = true