-
Notifications
You must be signed in to change notification settings - Fork 5
/
.gitconfig
32 lines (32 loc) · 1.11 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
[color]
diff = auto
status = auto
branch = auto
[alias]
st = status
co = checkout
nb = checkout -b
up = pull --rebase
br = branch
pom = push origin master
serve = !git daemon --reuseaddr --verbose --base-path=. --export-all ./.git
commiters = !git log --pretty=short --no-merges | git shortlog -nes
lg = log --graph --pretty=format:'%Cred%H%Creset -%C(yellow)%d%Creset %s %Cgreen(%ad) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
cleanup = !git branch | grep -v \"($(git branch -a | grep 'remotes/origin/' | grep -v HEAD | cut -d/ -f3- | tr '\n' '|' | rev | cut -c 2- | rev))\" | grep -v '*' | xargs git branch -d
cleanup-old = !git branch | grep -Ev \"($(git branch -a | grep 'remotes/origin/' | grep -v HEAD | cut -d/ -f3- | tr '\n' '|' | rev | cut -c 2- | rev))\" | grep -v '*' | xargs git branch -d
[core]
editor = vim
pager = "less -RiqMSj5"
autocrlf = false
excludesfile = "~/.gitignore"
[push]
default = tracking
[merge]
tool = vimdiff
[user]
name = German Monfort
email = german.monfort@gmail.com
[rerere]
enabled = false
[url "ssh://git@heroku.com/"]
insteadOf = https://git.heroku.com/