-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitconfig
50 lines (50 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
[user]
name = Andrei Horak
email = [email protected]
[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
[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
[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