-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
50 lines (50 loc) · 1.41 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
[user]
name = d6stiny
email = [email protected]
signingkey = 8CBA62F6F7596C5F
[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
[commit]
gpgsign = true
[push]
default = tracking
[core]
excludesfile = ~/.gitignore
pager = delta
[init]
defaultBranch = main
[alias]
update = "pull origin master --rebase"
fuckme = "switch --orphan"
fuckyou = "push --force"
status = "status -s"
undo = "reset --soft HEAD^"
cleanup = "!f() { \
git fetch upstream; \
git checkout master; \
git pull upstream master; \
git push origin master; \
git branch -r --merged | grep -v master | grep origin | sed 's/origin\\///' | gxargs -r -n 1 git push --delete origin; \
git branch --merged | grep -v master | gxargs -r -n 1 git branch -d; \
git branch -vv | grep ': gone]'| grep -v '\\*' | awk '{ print $1; }' | gxargs -r git branch -D; \
git fetch --all --prune; \
git prune; \
git gc --aggressive; \
}; f"
[submodule]
recurse = true
[rebase]
autoStash = true
[merge]
conflictstyle = diff3
[credential "https://github.com"]
helper = !/opt/homebrew/bin/gh auth git-credential
[credential "https://gist.github.com"]
helper = !/opt/homebrew/bin/gh auth git-credential
[delta]
navigate = true
side-by-side = true
line-numbers = true