-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
38 lines (37 loc) · 913 Bytes
/
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
[user]
name = Josh Holloway
email = [email protected]
[core]
excludesfile = ~/.gitignore_global
editor = nvim
[alias]
update-submodules = submodule update --init --recursive
upgrade-submodules = submodule update --init --remote
undo = reset HEAD~
unstage = reset HEAD --
delete = branch -D
sync = pull -q -r origin
last = log -1 HEAD
amend = commit --amend --no-edit
squash = rebase -i HEAD~$1
[url "[email protected]:"]
insteadOf = https://github.com/
[push]
default = simple
[pull]
ff = only
[branch "main"]
mergeoptions = --ff-only
[branch "master"]
mergeoptions = --ff-only
[branch "develop"]
mergeoptions = --ff-only
[filter "lfs"]
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
[init]
defaultBranch = main
[include]
path = ~/.gitconfig_local