-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
54 lines (54 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
51
52
53
54
[user]
email = [email protected]
name = Denick
signingkey = 9689E645F568CF10E7903A6E22B2D359F16F24AB
[push]
default = simple
[alias]
pushup = "!git push --set-upstream origin $(git symbolic-ref --short HEAD)"
diffw = diff --color-words
showw = show --color-words
ci = commit -a
co = checkout
st = status
s = status
l = log
br = branch
pushfl = push --force-with-lease
torelease = "!git log $(git describe --tags --abbrev=0)..master --oneline"
pullall = "!for RMT in $(git remote); do git pull -v $RMT $1; echo; done;"
pushall = "!for RMT in $(git remote); do git push -v $RMT $1; echo; done;"
praise = blame
#branch-delete-merged = "!git branch --merged | grep -Ev '(^\*|^\s+master$|\s+main$|\s+develop$)' | xargs git branch -d"
[core]
excludesfile = ~/.gitignore
editor = vim
[log]
decorate = auto
[rebase]
autosquash = true
[pull]
rebase = true
[diff]
tool = difftastic
colorMoved = zebra
[difftool]
prompt = false
[difftool "difftastic"]
cmd = difft "$LOCAL" "$REMOTE"
[pager]
difftool = true
[fetch]
prune = true
[init]
defaultBranch = main
[merge]
conflictstyle = diff3
[gpg "ssh"]
allowedSignersFile = /home/denick/.config/git/allowed_signers
[gpg]
format = ssh
[user]
signingkey = /home/denick/.ssh/id_ed25519.pub
[commit]
gpgsign = true