-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig
More file actions
60 lines (55 loc) · 1.18 KB
/
.gitconfig
File metadata and controls
60 lines (55 loc) · 1.18 KB
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]
email = connesy@gmail.com
name = Stefan Mejlgaard
signingkey = 4E22357764FFF8B8
# General setup
[core]
autocrlf = input
[credential]
helper = cache
[pull]
rebase = false
[push]
default = simple
autoSetupRemote = true
[commit]
gpgsign = true
[gpg]
program = gpg2
# Setup nice log output
[log]
date = relative
[format]
pretty = format:%C(yellow)%h %Cblue%>(12)%ad %Cgreen%<(7)%aN%Cred%d %Creset%s
# Aliases
[alias]
ci = commit
br = branch
st = status
sw = switch
re = restore
pf = push --force-with-lease --force-if-includes
rba = rebase -i --autosquash
last = log -10 --graph
files = show --pretty="" --name-only
alias = config --get-regexp alias
# Using meld as diff and merge tool
[diff]
tool = meld
[difftool]
prompt = false
[difftool "meld"]
trustExitCode = true
cmd = meld "$LOCAL" "$REMOTE"
[merge]
tool = meld
[mergetool]
prompt = false
[mergetool "meld"]
trustExitCode = true
cmd = meld "$LOCAL" "$MERGED" "$REMOTE" --output "$MERGED"
[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f