-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gitconfig
60 lines (60 loc) · 1.5 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 = Andrei Horak
email = [email protected]
signingkey = /Users/andreihorak/.ssh/id_ed25519.pub
[alias]
branches = branch -a
tags = tag -l
# View who contributed together with number of commits
contributors = shortlog --summary --numbered
# Show the logs in a nice format
pretty = "log --pretty=format:'%Cred%h%Creset - %s%C(yellow)%d%Creset %Cgreen(%cr) %C(bold blue)<%an>%Creset'"
remotes = remote -v
# What did I do yesterday?
scrum = "!git standup"
[apply]
# Fix whitespace issues when applying patches
whitespace = fix
[color]
ui = true
[credential]
helper = osxkeychain
[core]
editor = vi
[diff]
tool = Kaleidoscope
[difftool]
prompt = false
trustExitCode = true
[difftool "Kaleidoscope"]
cmd = ksdiff --partial-changeset --relative-path \"$MERGED\" -- \"$LOCAL\" \"$REMOTE\"
[filter "media"]
required = true
clean = git media clean %f
smudge = git media smudge %f
[filter "hawser"]
clean = git hawser clean %f
smudge = git hawser smudge %f
required = true
[filter "lfs"]
clean = git lfs clean %f
smudge = git lfs smudge %f
required = true
[merge]
tool = Kaleidoscope
[mergetool]
prompt = false
keepBackup = true
[mergetool "Kaleidoscope"]
cmd = ksdiff --merge --output \"$MERGED\" --base \"$BASE\" -- \"$LOCAL\" --snapshot \"$REMOTE\" --snapshot
trustExitCode = true
[push]
# Push the current branch to update a branch with the same name on the receiving end
default = current
[commit]
gpgsign = true
[gpg]
program = /opt/homebrew/bin/gpg
format = ssh
[tag]
gpgSign = true