-
Notifications
You must be signed in to change notification settings - Fork 10
/
gitconfig
52 lines (52 loc) · 1.22 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
[user]
name = Thomas Queste
email = [email protected]
signingkey = 0x46ABEB7FF623F5EB
[alias]
co = checkout
ci = commit
st = status
br = branch
bra = branch -a
diffw = diff --word-diff=color
fixup = !sh -c 'REV=$(git rev-parse $1) && git commit --fixup $@ && GIT_SEQUENCE_EDITOR=true git rebase -i --autosquash $REV^' -
squash = !sh -c 'REV=$(git rev-parse $1) && git commit --squash $@ && GIT_SEQUENCE_EDITOR=true git rebase -i --autosquash $REV^' -
[core]
excludesfile = ~/.gitignore
autocrlf = input
pager = less -+$LESS -RSX
[pull]
ff = only
[help]
autocorrect = -1
[tag]
sort = version:refname
[credential]
helper = cache
[rerere]
enabled = true
[commit]
; disable until I create a sub-key for git signing
; gpgsign = true
[rebase]
autostash = true
autosquash = true
[status]
showUntrackedFiles = all
[fetch]
prune = true
[push]
; Push to matching remote branch, or create branch if missing
; default is "simple" that does not create the remote branch
default = current
autoSetupRemote = true
[init]
defaultBranch = main
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[diff "lockb"]
textconv = bun
binary = true