-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig
More file actions
58 lines (58 loc) · 1.22 KB
/
.gitconfig
File metadata and controls
58 lines (58 loc) · 1.22 KB
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
[user]
name = Tim Macfarlane
email = timmacfarlane@gmail.com
[color]
ui = true
[alias]
re = restore
sw = switch
st = status
br = branch
l = log -1
s = stash
sp = stash pop
sm = submodule update --init --recursive
local = log @{u}..
unpushed = log @{u}..
unreleased = log $(git describe --abbrev=0)..
clean-branches = "!git branch --merged | grep -v '\\*\\|master' | xargs -n 1 git branch -d"
wt = worktree
[push]
default = simple
autoSetupRemote = true
[merge]
conflictstyle = zdiff3
tool = nvimdiff
[mergetool "vimdiff"]
layout = "BASE,LOCAL + LOCAL,MERGED + BASE,REMOTE + REMOTE,MERGED + LOCAL,REMOTE"
[core]
editor = nvim
trustctime = false
[pull]
rebase = true
[mergetool]
keepBackup = false
prompt = false
[core]
attributesFile = ~/.gitattributes
pager = delta --hyperlinks
excludesfile = ~/.config/git/ignore
[delta]
features = side-by-side line-numbers
syntax-theme = OneHalfDark
[init]
defaultBranch = main
[fetch]
prune = true
[include]
path = ~/.gitconfig.local
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[diff]
algorithm = histogram
colorMoved = plain
mnemonicPrefix = true
renames = true