-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
44 lines (42 loc) · 1.2 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
# This is Git's per-user configuration file.
[user]
# Please adapt and uncomment the following lines:
name = Jared Mackey
[alias]
workprofile = !git config user.email \"jrmadm@divvypay.com\" && git config user.signingkey CCF3E715CED89BFA
homeprofile = !git config user.email \"jared@mackey.tech\" && git config user.signingkey 0C5ED94391419E3E
cleanup = !"git fetch -p && for branch in $(git branch -vv | grep ': gone]' | awk '{print $1}'); do git branch -D $branch; done"
up = pull
undo = reset HEAD~1 --mixed
ignore = update-index --assume-unchanged
unignore = update-index --no-assume-unchanged
ignored = !git ls-files -v | grep "^[[:lower:]]"
yeet = push --force-with-lease
anew = push -u origin HEAD
[commit]
gpgsign = true
[gpg]
program = gpg2
[rerere]
enabled = true
autoupdate = true
[fetch]
prune = true
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[pull]
rebase = true
autostash = true
[rebase]
autostash = true
[core]
excludesfile = /home/jared/.config/git/gitignore
editor = nvim
[push]
pushOption = merge_request.label=impact::low
pushOption = merge_request.create
[init]
defaultBranch = main