Skip to content

Instantly share code, notes, and snippets.

@tolleiv
Last active December 15, 2015 08:19
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tolleiv/5229881 to your computer and use it in GitHub Desktop.
Save tolleiv/5229881 to your computer and use it in GitHub Desktop.
My .gitconfig
[user]
name = Tolleiv Nietsch
email = tolleiv.nietsch@typo3.org
[alias]
st = status
ci = commit
br = branch
co = checkout
df = diff
lg = log -p
hist = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short
tree = log --graph --pretty=oneline --decorate
pom = push origin master
amend = commit --amend -C HEAD
[url "ssh://tolleiv@review.typo3.org:29418"]
pushInsteadOf = git://git.typo3.org
[branch]
autosetuprebase = remote
[color]
branch = auto
diff = auto
status = auto
interactive = auto
ui = true
pager = true
[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
[core]
pager = less -FRSX
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/.gitignore_global
editor = vim
[apply]
whitespace = fix
[http]
proxy =
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment