dotfiles/.gitconfig

73 lines
1.2 KiB
INI
Raw Normal View History

2015-07-06 15:20:24 +00:00
[color]
ui = true
[color "branch"]
current = yellow bold
local = green bold
remote = cyan bold
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
whitespace = red reverse
[color "status"]
added = green bold
changed = yellow bold
untracked = red bold
[branch]
autosetupmerge = true
[alias]
aa = add --all
ap = add --patch
br = branch
c = commit -v
ca = commit --amend
2015-08-17 10:27:22 +00:00
caa = commit --amend -a -C HEAD
2015-07-06 15:20:24 +00:00
cl = clone
co = checkout
f = fetch
g = grep --break --heading --line-number
2015-09-12 19:54:15 +00:00
lg = log --oneline --all --graph --decorate
2015-07-06 15:20:24 +00:00
prb = pull --rebase
ra = rebase --abort
rc = rebase --continue
st = status -s
undo = reset --hard
unstage = reset HEAD --
2015-08-06 09:04:17 +00:00
wipe = clean -fd
2015-07-06 15:20:24 +00:00
[core]
excludesFile = ~/.gitignore-global
2015-09-12 19:53:50 +00:00
whitespace = trailing-space
2015-07-06 15:20:24 +00:00
[case]
ignorecase = true
[grep]
lineNumber = true
patternType = extended
[fetch]
prune = true
[help]
autocorrect = 1
[gitsh]
nogreeting = true
# Moved this into .gitconfig-local as this can be different depending on the version of Git.
# [push]
# default = simple
[diff]
tool = vimdiff
[include]
path = ~/.gitconfig-local