forked from ryanb/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 1
/
gitconfig
48 lines (48 loc) · 1.21 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
[user]
name = Joshua Bassett
email = [email protected]
[push]
default = tracking
[alias]
conflicts = diff --name-only --diff-filter=U
report = log --author=Josh --since='2 sunday ago' --until='1 sunday ago' --format='%Cgreen%ci%Creset %s%Creset'
push-upstream = !git push --set-upstream origin `git symbolic-ref --short HEAD`
trello = "!f() { echo $1 | sed -E 's/^(.*\\/([^/]+))$/\\2/' | xargs git checkout -b; }; f"
[color]
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
whitespace = red reverse
[color "status"]
added = yellow
changed = green
untracked = cyan
[core]
editor = nvim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/.gitignore
autocrlf = input
[apply]
whitespace = nowarn
[mergetool]
keepBackup = true
[github]
user = josh
token = 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
[filter "media"]
clean = git-media-clean %f
smudge = git-media-smudge %f
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
required = true
process = git-lfs filter-process
[init]
defaultBranch = main