-
Notifications
You must be signed in to change notification settings - Fork 9
/
.gitconfig
36 lines (36 loc) · 1.09 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
[user]
name = Andrej Mihaliak
email = [email protected]
signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA6XJkv1UW9NY5Ie/L0XZemzXoBtwdVR9zse7hdJIlnl
[github]
user = mihaliak
[core]
excludesfile = /Users/andrejmihaliak/.gitignore_global
[alias]
a = "add ."
c = commit
p = push
s = status -sb
l = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
m = !"bash -c 'git branch | grep -v 'master' | xargs git branch -D'"
nah = !"bash -c 'git reset --hard && git clean -df'"
master = checkout master
yolo = !git commit -m \"$(curl -s whatthecommit.com/index.txt)\"
joke = !git commit -m \"$(curl -s https://icanhazdadjoke.com)\"
f = !"bash -c 'git checkout -b feature/$0'"
o = !"bash -c 'git checkout $0'"
[pull]
rebase = false
[commit]
gpgsign = true
[init]
defaultBranch = main
[gpg]
format = ssh
[gpg "ssh"]
program = "/Applications/1Password.app/Contents/MacOS/op-ssh-sign"
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true