-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
67 lines (54 loc) · 1.47 KB
/
Copy pathgitconfig
File metadata and controls
67 lines (54 loc) · 1.47 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
59
60
61
62
63
64
65
66
67
# Identity lives in ~/.gitconfig.local, which is NOT tracked -- this repo is
# public. install.sh creates the file; fill in your name and email there.
# `git config --global user.name "..."` would write into this tracked file
# instead, so use ~/.gitconfig.local directly.
[include]
path = ~/.gitconfig.local
[alias]
br = branch
hist = log --graph --pretty=format:'%Cred%h%Creset - %Cgreen%an%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
type = cat-file -t
dump = cat-file -p
[color]
branch = auto
diff = auto
status = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = green
changed = yellow
untracked = cyan
deleted = red bold
[core]
excludesfile = ~/.gitignore
editor = nvim -f
[credential]
# Keychain-backed, not the plaintext ~/.git-credentials that `store` writes.
helper = osxkeychain
[init]
defaultBranch = main
[pull]
# Don't create merge commits on `git pull`; rebase or fast-forward only.
ff = only
[fetch]
# Delete local refs for branches deleted on the remote.
prune = true
[diff]
# Detect renames as well as copies.
renames = copies
[rerere]
# Remember conflict resolutions and replay them.
enabled = true
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true