-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
55 lines (54 loc) · 1.31 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
[user]
name = Florent Vilmart
email = florent@flovilmart.com
signingkey = 4A0441A2
handle = flovilmart
[core]
excludesfile = ~/.gitignore_global
ignorecase = true
editor = nvim
[push]
default = current
recurseSubmodules = check
[http]
postBuffer = 52428800
[credential]
helper = osxkeychain
[pull]
rebase = true
[rebase]
autosquash = true
[status]
submodulesummary = 1
[diff]
submodule = log
# [filter "media"]
# required = true
# clean = git media clean %f
# smudge = git media smudge %f
# [filter "lfs"]
# clean = git-lfs clean -- %f
# smudge = git-lfs smudge -- %f
# required = true
# [difftool "sourcetree"]
# cmd = opendiff \"$LOCAL\" \"$REMOTE\"
# path =
# [mergetool "sourcetree"]
# cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
# trustExitCode = true
[alias]
co = checkout
st = status
main = !git co main && git pull origin main
pr-web = !gh pr view -w
pr = !(gh pr create -f || echo "OK!") && yarn update:changelog && git push && gh pr view -w
pr-view = !gh pr view -w
hub = !gh
fix = !git commit --amend --no-edit && git push -f
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[url "git@github.com:"]
insteadof = https://github.com/