1
0
Fork 0

Update gitconfig

This commit is contained in:
Gregory Eremin 2017-03-10 11:43:07 +01:00
parent 03fa491e01
commit 3662587892
1 changed files with 27 additions and 7 deletions

View File

@ -9,14 +9,17 @@
[alias] [alias]
co = checkout co = checkout
br = checkout -b br = checkout -b
st = status -sb
ci = commit ci = commit
rd = rebase -i development
rh = rebase -i HEAD~5
cp = cherry-pick cp = cherry-pick
unstage = reset st = stash
sp = stash pop
rim = rebase -i master
rih = rebase -i HEAD~5
rc = rebase --continue
ra = rebase --abort
undo = reset --soft HEAD^ undo = reset --soft HEAD^
reword = git commit --amend -m reword = commit --amend -m
last = for-each-ref --sort=-committerdate --count=10 refs/heads/ --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) %(color:green)(%(committerdate:relative))%(color:reset) - %(color:blue)%(objectname:short)%(color:reset) - %(contents:subject) - %(authorname)'
[color] [color]
diff = auto diff = auto
status = auto status = auto
@ -25,6 +28,7 @@
[core] [core]
excludesfile = ~/.gitignore excludesfile = ~/.gitignore
editor = vim editor = vim
pager = diff-so-fancy | less --tabs=4 -R
[push] [push]
default = current default = current
[apply] [apply]
@ -48,5 +52,21 @@
[merge] [merge]
tool = Kaleidoscope tool = Kaleidoscope
[filter "media"] [filter "media"]
clean = git-media-clean %f required = true
smudge = git-media-smudge %f clean = git media clean %f
smudge = git media smudge %f
[filter "hawser"]
clean = git hawser clean %f
smudge = git hawser smudge %f
required = true
[filter "lfs"]
clean = git lfs clean %f
smudge = git lfs smudge %f
required = true
[url "ssh://git@github.com/"]
insteadOf = https://github.com/
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22