2
0
mirror of https://github.com/webgefrickel/dotfiles synced 2024-11-11 07:10:40 +00:00
steffen-dotfiles/gitconfig
2013-05-11 22:26:43 +02:00

55 lines
1.0 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
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
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