-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgitconfig
62 lines (62 loc) · 1.32 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
[user]
name = Brad Lhotsky
[include]
path = ~/.gitid
[color]
ui = auto
diff = auto
status = auto
branch = auto
[diff]
algorithm = histogram
tool = vimdiff
[alias]
br = branch
ci = "commit -v"
co = checkout
cp = commit -p
lp = log --format=\"%h - %an, %ar : %s\"
rbi = rebase -i
rh = reset --hard
st = status -s
sw = switch
swc = switch -c
last = log -p -1 HEAD
hist = log --graph --color=always --pretty='[%C(cyan)%h%Creset]%C(bold cyan)%d%Creset %an: %s' --all
pushf = push --force-with-lease
unstage = reset HEAD --
ours = "!f() { git checkout --ours $@ && git add $@; }; f"
theirs = "!f() { git checkout --theirs $@ && git add $@; }; f"
[commit]
verbose = true
gpgsign = true
[branch]
autosetuprebase = always
sort = -committerdate
[rebase]
autoStash = true
[push]
default = upstream
autoSetupRemote = true
[pull]
rebase = true
[github]
user = reyjrar
[gpg]
format = ssh
[core]
excludesFile = ~/.gitignore_global
hooksPath = ~/.githooks.d/hooks
[rerere]
enabled = true
autoUpdate = true
[tag]
sort = version:refname
gpgSign = true
[init]
defaultBranch = main
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true