-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
41 lines (34 loc) · 1.74 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
#
# ██████╗ ██╗████████╗ ██████╗ ██████╗ ███╗ ██╗███████╗██╗ ██████╗
# ██╔════╝ ██║╚══██╔══╝ ██╔════╝██╔═══██╗████╗ ██║██╔════╝██║██╔════╝
# ██║ ███╗██║ ██║ ██║ ██║ ██║██╔██╗ ██║█████╗ ██║██║ ███╗
# ██║ ██║██║ ██║ ██║ ██║ ██║██║╚██╗██║██╔══╝ ██║██║ ██║
# ╚██████╔╝██║ ██║ ╚██████╗╚██████╔╝██║ ╚████║██║ ██║╚██████╔╝
# ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═══╝╚═╝ ╚═╝ ╚═════╝
#
# git general config & aliases
[core]
editor = nvim
excludesfile = ~/.gitignore_global
[alias]
# shortcuts
whoops = commit --amend --no-edit
# Clean stale branches
stale = !git cut && git clean-stale
cut = !git remote prune origin
clean-stale = "!git fetch -p && for branch in $(git branch -vv | grep ': gone]' | awk '{print $1}'); do git branch -D $branch; done"
[diff]
tool = vimdiff
algorithm = patience
[user]
name = Robin Gagnon
email = me@reobin.dev
signingkey = 78AD94BAAA69EDC7
[difftool]
prompt = false
[commit]
gpgsign = true
[gpg]
program = gpg
[pager]
branch = false