forked from danielgrippi/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
27 lines (27 loc) · 939 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
[alias]
ca = commit --amend
co = checkout
delete-branch = !sh -c 'git push origin :refs/heads/$1 && git remote prune origin && git branch -D $1' -
st = status
up = !git fetch origin && git rebase origin/master
tree = log --graph --full-history --all --color --date=short --pretty=format:\"%Cred%x09%h %Creset%ad%Cblue%d %Creset %s %C(bold)(%an)%Creset\"
[format]
pretty = format:%C(yellow)%h %Cred%ad %Cblue%an%Cgreen%d %Creset%s
[log]
date = short
[push]
default = simple
[include]
path = ~/.gitconfig.local
[core]
editor = vim
[color]
ui = true
[diff]
compactionHeuristic = 1
[pager]
log = /usr/local/share/git-core/contrib/diff-highlight/diff-highlight | less
show = /usr/local/share/git-core/contrib/diff-highlight/diff-highlight | less
diff = /usr/local/share/git-core/contrib/diff-highlight/diff-highlight | less
[interactive]
diffFilter = /usr/local/share/git-core/contrib/diff-highlight/diff-highlight