-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
60 lines (45 loc) · 1.26 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
57
58
59
60
[core]
pager = delta
editor = nvim
[user]
name = William Fish
email = [email protected]
[push]
default = simple
[alias]
add = git add -p
branches = "for-each-ref --sort=-committerdate --format=\"%(color:blue)%(authordate:relative)\t%(color:red)%(authorname)\t%(color:white)%(color:bold)%(refname:short)\" refs/remotes"
cleanupmaster = !git fetch -p && git pull && git branch --merged | grep -v main | xargs -n 1 -r git branch -d
cleanup = !git fetch -p && git pull && git branch --merged | grep -v main | xargs -n 1 -r git branch -d
cmm = !git checkout master && git cleanupmaster
cm = !git checkout main && git cleanup
[help]
autocorrect=1
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[delta]
navigate = true
light = false
features = line-numbers decorations
theme = Github
[interactive]
diffFilter = delta --color-only
[github]
user = willfish
[web]
browser = firefox
[init]
defaultBranch = main
[credential "https://github.com"]
helper =
helper = !/usr/bin/gh auth git-credential
[credential "https://gist.github.com"]
helper =
helper = !/usr/bin/gh auth git-credential
[merge]
conflictstyle = diff3
[diff]
colorMoved = default