forked from gshaw/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
60 lines (60 loc) · 1.38 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
[user]
name = Razvan Marescu
email = [email protected]
signingkey = BA498B78
[alias]
lg = log --graph --pretty=format:'%C(yellow)%h%Creset %s %C(cyan)<%an>%Creset' --abbrev-commit --date=relative
co = checkout
st = status
br = branch
cp = cherry-pick
[apply]
whitespace = nowarn
[color]
diff = auto
status = auto
branch = auto
interactive = auto
[core]
editor = code --wait
excludesfile = /Users/rmarescu/.gitignore
quotepath = false
[github]
user = rmarescu
[diff]
tool = default-difftool
[difftool "default-difftool"]
cmd = code --wait --diff $LOCAL $REMOTE
[branch]
autosetuprebase = always
[push]
default = current
[mergetool "Kaleidoscope"]
cmd = ksdiff --merge --output \"$MERGED\" --base \"$BASE\" -- \"$LOCAL\" --snapshot \"$REMOTE\" --snapshot
trustExitCode = true
[mergetool]
prompt = false
[merge]
tool = Kaleidoscope
[help]
autocorrect = 1
[filter "media"]
clean = git-media-clean %f
smudge = git-media-smudge %f
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
required = true
process = git-lfs filter-process
[commit]
gpgsign = true
# template = /Users/rmarescu/.stCommitMsg
[gpg]
program = /opt/homebrew/bin/gpg
# To sign with SSH key (doesn't seem to work)
# [gpg]
# format = ssh
# [gpg "ssh"]
# program = "/Applications/1Password.app/Contents/MacOS/op-ssh-sign"
[init]
defaultBranch = main