-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgitconfig
71 lines (70 loc) · 2.06 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
; vim: set filetype=gitconfig :
[user]
name = Nate Peterson
email = [email protected]
[github]
user = ntpeters
[core]
editor = nvim
autocrlf = input
whitespace = trailing-space,space-before-tab
excludesfile = ~/.gitignore
quotePath = false
precomposeunicode = true
pager = less -FLRci --tilde --mouse
[color]
ui = true
[push]
default = current
[help]
autocorrect = 1
[alias]
local = log --branches --not --remotes --decorate --oneline
changes = diff --name-status -r
diffstat = diff --stat -r
new = !sh -c 'git log $1@{1}..$1@{0} "$@"'
lc = log ORIG_HEAD.. --stat --no-merges
co = checkout
cob = checkout -b
wtl = worktree list
wta = worktree add
sup = submodule update --init --recursive
cm = commit
cma = commit --amend
st = status
rbc = rebase --continue
rba = rebase --abort
rbi = rebase --interactive
prb = pull --rebase origin
cp = cherry-pick
info = !onefetch --no-color-palette --number-of-authors 10
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[pager]
diff = LESS='--quit-if-one-screen --RAW-CONTROL-CHARS --ignore-case --tilde --mouse' && delta 2>/dev/null || less
show = LESS='--quit-if-one-screen --RAW-CONTROL-CHARS --ignore-case --tilde --mouse' && delta 2>/dev/null || less
stash = LESS='--quit-if-one-screen --RAW-CONTROL-CHARS --ignore-case --tilde --mouse' && delta 2>/dev/null || less
log = LESS='--quit-if-one-screen --RAW-CONTROL-CHARS --ignore-case --tilde --mouse' && delta 2>/dev/null || less
reflog = LESS='--quit-if-one-screen --RAW-CONTROL-CHARS --ignore-case --tilde --mouse' && delta 2>/dev/null || less
[delta]
plus-style = "syntax auto"
minus-style = "syntax auto"
plus-emph-style = "syntax bold underline auto"
minus-emph-style = "syntax bold strike auto"
;syntax-theme = OneHalfDark
navigate = true
;hyperlinks = true
line-numbers = true
zero-style = dim syntax
true-color = always
[interactive]
diffFilter = delta --color-only
[init]
defaultBranch = main
[credential "helperselector"]
selected = manager
[include]
path = ~/.gitconfig.local