2
0
mirror of https://github.com/webgefrickel/dotfiles synced 2024-11-17 09:25:52 +00:00
steffen-dotfiles/gitconfig
2013-07-05 18:49:04 +02:00

59 lines
1.2 KiB
Plaintext

[include]
path = ~/.gitconfig.user
[core]
excludesfile = ~/.gitignore
editor = vim
autocrlf = input
eol = lf
pager = less -FXRS -x2
[color]
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
whitespace = red reverse
[color "status"]
added = yellow
changed = green
untracked = cyan
[alias]
git = !git
st = status
cm = commit
co = checkout
br = branch -a
ps = push
pl = pull
mg = merge
ffs = flow feature start
fff = flow feature finish
fi = flow init
unst = reset HEAD
hub = push origin master
fac = push origin refac
subup = submodule foreach git pull
rs = reset HEAD --hard
hist = log --pretty=format:\"%h | %ad | %an | %s%d \" --graph --date=local
l = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
lo = log --graph --decorate --pretty=oneline --abbrev-commit --all
pu = !"git fetch origin -v; git fetch upstream -v; git merge upstream/master"
type = cat-file -t
dump = cat-file -p
[diff]
tool = vimdiff
guitool = vimdiff
[mergetool]
prompt = false
keepBackup = false