-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
31 lines (31 loc) · 1.13 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
[core]
excludesfile = ~/.gitignore_global
editor = vim
[fetch]
prune = true
[user]
name = Darius Kletter
email = [email protected]
signingkey = 5BD5A9CDE82D0B96
[includeIf "gitdir:~/dev/mediamarktsaturn/"]
path = .gitconfig-mediamarktsaturn
[alias]
plog = "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative"
dlog = "log --pretty=format:"%h%x09%an%x09%ad%x09%s""
yolo = !git add -A && git commit -m \"$(curl --silent --fail https://whatthecommit.com/index.txt)\"
rmmb = "!sh -c 'git fetch --prune && git branch -vv | grep \"\\[origin/.*: entfernt\\]\" | awk \"{print \\$1}\" > /tmp/local-branches-to-delete && vi /tmp/local-branches-to-delete && xargs -r git branch -d < /tmp/local-branches-to-delete'"
amend = !git add -A && git commit --amend --no-edit
save = !git add -A && git commit -m 'chore: commit save point'
pfl = !git push --force-with-lease
rom = !git pull --rebase origin master
[fetch "origin"]
prune = true
[pull]
rebase = true
[commit]
gpgSign = true
template = ~/.gitmessage
[gpg]
program = gpg
[push]
autoSetupRemote = true