-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
76 lines (76 loc) · 1.85 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
[hub]
protocol = https
[user]
name = Wouter Horré
[credential]
helper = cache
[alias]
aa = add --all
co = checkout
ci = commit -v
branches = for-each-ref --sort=-committerdate --format=\"%(color:blue)%(authordate:relative)\t%(color:red)%(authorname)\t%(color:white)%(color:bold)%(refname:short)\" refs/remotes
count = !git shortlog -sn
lg = !git log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset' --abbrev-commit
ls = ls-tree -r --full-tree HEAD
st = status
hide = update-index --skip-worktree
unhide = update-index --no-skip-worktree
unhide-all = !git ls-files -v | grep -i '^S' | cut -c3- | xargs git update-index --no-skip-worktree
hidden = !git ls-files -v | grep '^S' | cut -c3-
[apply]
whitespace = nowarn
[color]
diff = auto
status = auto
branch = auto
ui = true
[core]
editor = nvim
ignorecase = false
excludesfile = /home/wouter/.gitignore.global
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color "diff"]
meta = yellow
frag = blue bold
commit = yellow bold
old = red bold
new = green bold
whitespace = red reverse
[difftool]
prompt = false
[diff]
colorMoved = zebra
[fetch]
prune = true
[help]
autocorrect = 1
[mergetool]
keepBackup = false
[push]
# See `git help config` (search for push.default)
# for more information on different options of the below setting.
#
# Setting to git 2.0 default to surpress warning message
default = simple
[rebase]
autosquash = true
[merge]
conflictstyle = diff3
tool = nvimdiff
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[init]
defaultBranch = main
[include]
path = ~/.gitconfig.local
[url "git@bitbucket.org:"]
insteadOf = https://bitbucket.org/
[pull]
ff = only