Files
dotfiles/gitconfig

89 lines
2.2 KiB
Plaintext

[alias]
ca = commit -a
cam = commit -am
changes = diff --name-status -r
co = checkout
contains = branch --contains
cr = codereview
exclude = !sh -c 'echo "$1" >> .git/info/exclude' -
ignored = ls-files --others
lg = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(bold cyan)- %an%C(reset)%C(bold yellow)%d%C(reset)'
lgc = log ORIG_HEAD.. --stat --no-merges
lgp = log --pretty=format:'%Cred%h%Creset -- %cn, %cr\t%Cgreen%s%Creset'
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
mnc = merge --no-commit
oneline = log --oneline --decorate
repourl = config --get remote.origin.url
shallow = clone --depth=1
staged = diff --cached
tags = for-each-ref --sort='*authordate' --format='%(tag)' refs/tags
undo = reset --soft HEAD^
unpushed = cherry -v
update-sub = submodule foreach git pull
wdiff = diff --color-words
whatrelease = name-rev --name-only
who = shortlog -s --
wlog = log -p --word-diff=colo
[apply]
whitespace = fix
[branch]
autosetupmerge = always
autosetuprebase = always
[color]
branch = auto
diff = auto
interactive = auto
ui = auto
status = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "grep"]
match = bold magenta
[color "interactive"]
prompt = normal
header = normal
help = yellow
error = bold red
[color "status"]
added = yellow
changed = green
untracked = cyan
[core]
excludesfile = /Users/sidharta/.gitignore
whitespace = space-before-tabmtrailing-space
autocrlf = input
editor = /usr/local/bin/vim
[diff]
tool = vimdiff
algorithm = histogram
[github]
user = hellerve
[merge]
log = true
[push]
default = simple
[user]
name = hellerve
email = veit.heller@student.htw-berlin.de
[credential]
helper = osxkeychain
[http]
postBuffer = 1048576000