-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdot_gitconfig
More file actions
99 lines (82 loc) · 1.78 KB
/
dot_gitconfig
File metadata and controls
99 lines (82 loc) · 1.78 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
[user]
name = "James Pulec"
email = "jpulec@gmail.com"
signingkey = 9E8ED07CC1CBBF56
[color]
diff = auto
status = auto
branch = auto
interactive = auto
ui = true
pager = true
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "status"]
added = yellow
changed = green
untracked = cyan
[core]
editor = nvim --clean -c 'set ft=gitcommit nobackup nowritebackup noswapfile' +startinsert
pager = delta
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/.gitignore
attributesfile = ~/.gitattributes
[delta]
features = side-by-side line-numbers
side-by-side = true
line-numbers = true
[alias]
co = checkout
cl = clean -xd -e .envrc -e .env.development.local -e _james*
ci = commit
st = status
df = diff
dfdp = diff --no-ext-diff
br = branch
lg = log --graph --all --oneline
lga = log --graph --all
push = push -u
pushf = push --force-with-lease --force-if-includes
sw = switch
rs = restore
mt = mergetool
wt = worktree
wtl = worktree list
squash-all = "!f(){ git reset $(git commit-tree HEAD^{tree} -m \"${1:-A new start}\");};f"
[diff]
tool = nvim -d
algorithm = patience
[diff "nodiff"]
command = /bin/true
[merge]
tool = fugitive
conflictStyle = zdiff3
[merge "yarndriver"]
name = My Yarn Fixer
driver = yarn install
[mergetool "fugitive"]
cmd = "nvim -f -c \"Gvdiffsplit!\" \"$MERGED\""
[push]
default = simple
autoSetupRemote = true
[pull]
rebase = true
[commit]
gpgsign = true
verbose = true
[filter "lfs"]
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
[init]
defaultBranch = main
[safe]
directory = /tmp/clone
[http]
postBuffer = 157286400
version = HTTP/1.1
[submodule]
recurse = true