-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
36 lines (30 loc) · 1003 Bytes
/
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 = David Szotten
email = [email protected]
[core]
editor = vim
pager = less -r
excludesfile = ~/.gitignore
[color]
ui = true
[diff]
indentHeuristic = true
noprefix = true
[alias]
co = checkout
lol = log --pretty=oneline --abbrev-commit --graph --decorate --all
st = status -sb
word-diff = diff --color-words --word-diff-regex='[^[:space:]]|[A-z_][A-z_]+'
diffi = diff --ignore-space-at-eol
latest = rev-parse HEAD
; latest-tag = describe --abbrev=0 origin/master
latest-tag = !git tag |grep -E '^v[0-9]+$' |cut -c 2-| sort -n |tail -n 1
recent-branches2 = !git for-each-ref --sort=committerdate refs/heads/ --format='%(color:blue)%(refname:short):%(color:yellow)%(committerdate:relative)%(color:reset)' --color=always |column -t -s ':'
merge-upstream = merge @{u}
vim-conflict = !git ls-files -m |sort -u |xargs mvim
[push]
default = upstream
[advice]
statusHints = false
[rerere]
enabled = true