-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitconfig
29 lines (29 loc) · 1.14 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
[url "[email protected]:"]
insteadOf = https://bitbucket.org/
[user]
name = Christian Ekrem
email = [email protected]
[core]
excludesfile = /Users/cekrem/.gitignore_global
[url "[email protected]:vippsas/"]
insteadOf = https://github.com/vippsas/
[alias]
sed = ! git grep -z --full-name -l '.' | xargs -0 gsed -i -e
check-go = ! git diff --name-only origin/master | grep ".go"| sort -u | xargs -I % golangci-lint run -p style -p bugs --disable typecheck --disable gochecknoglobals %
ktlint = ! git diff --name-only origin/master | grep ".kt"| sort -u | xargs -I % ktlint --experimental %
ktlint-dryrun = ! git diff --name-only origin/master | grep ".kt" | sort -u | xargs -I % echo %
ls = ! git for-each-ref --sort=committerdate refs/heads/ --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(color:red)%(objectname:short)%(color:reset) - %(contents:subject) - %(authorname) (%(color:green)%(committerdate:relative)%(color:reset))'
[push]
default = current
autoSetupRemote = true
[pull]
default = current
ff = only
[merge]
tool = vimdiff
[init]
defaultBranch = master
[rerere]
enabled = true
[http]
cookiefile = /Users/cekrem/.gitcookies