-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gitconfig
30 lines (30 loc) · 867 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
[user]
email = [email protected]
name = Matt Burdan\n
[core]
editor = vim
hooksPath = /etc/git/hooks/
[commit]
gpgsign = true
[url "[email protected]:"]
insteadOf = https://github.com/
[diff "sopsdiffer"]
textconv = sops -d
[fetch]
prune = true
[diff]
tool = vimdiff
[merge]
tool = vimdiff
[difftool]
prompt = false
trustExitCode = true
[mergetool]
trustExitCode = true
[push]
followTags = true
[alias]
pushup = "!git push --set-upstream origin $(git symbolic-ref --short HEAD)"
subranch = "!git branch --set-upstream-to=origin/$(git symbolic-ref --short HEAD) $(git symbolic-ref --short HEAD)"
resignmaster = "!git rebase -i master --exec 'git commit --amend --no-edit --no-verify -S --reset-author'"
wip = for-each-ref --sort='-authordate:iso8601' --count 20 --format=' %(color:green)%(authordate:relative)%09%(color:white)%(refname:short)' refs/heads