-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
33 lines (33 loc) · 958 Bytes
/
.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
[user]
email = [email protected]
name = Silvio Greuel
signinkey = D4D4B46DE3E0254E
[core]
excludesfile = /home/silvio/.globalgitignore
editor = vim
[alias]
start = !git init && git commit --allow-empty -m \"Initial commit\"
[diff]
tool = vimdiff
[merge]
tool = vimdiff
conflictstyle = diff3
[mergetool]
prompt = false
[github]
user = silviogreuel
[alias]
show-alias = config --get-regexp alias | cut -c 7-
find-merge = "!sh -c 'commit=$0 && branch=${1:-HEAD} && (git rev-list $commit..$branch --ancestry-path | cat -n; git rev-list $commit..$branch --first-parent | cat -n) | sort -k2 -s | uniq -f1 -d | sort -n | tail -1 | cut -f2'"
show-merge = "!sh -c 'merge=$(git find-merge $0 $1) && [ -n \"$merge\" ] && git show $merge'"
[gpg]
program = gpg2
[push]
autoSetupRemote = true
[filter "lfs"]
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
[init]
defaultBranch = main