Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
My git config
# git bash completion
. /usr/local/git/contrib/completion/git-completion.bash
alias g="git status"
name = Carsten Brandt
email =
# more on
st = status
co = checkout
ci = commit
cia = commit -a
br = branch
brr = branch -a
l = log --pretty=format:\"%h %an - %Cblue%d%Creset %s\"
ll = log --pretty=format:\"%h %ad %an - %Cblue%d%Creset %s\" --graph --date=rfc
lg = log --name-status --decorate=full --graph
last = cat-file commit HEAD
sm = submodule
smu = submodule update
noffmerge = merge --no-ff
fetchall = fetch --all -p -t -v
# rnew is not realy what I wanted yet, so handle with care!
rnew = log --name-status --decorate=full --graph master..origin/master
lnew = log --name-status --decorate=full --graph ORIG_HEAD.. --stat
# find unmerged branches
unmerged = branch --no-merged
editor = /usr/bin/vi
excludesfile = ~/.gitignore_global
# always commit unix line endings (
autocrlf = input
diff = auto
status = auto
branch = auto
interactive = auto
summary = true
stat = true
keepBackup = true
default = simple
# ~/.gitignore_global
# phpstorm ide files
# Mac stuff
# bbedit project files
# ignore copied svn files
# temporary files

This comment has been minimized.

Copy link
Owner Author

@cebe cebe commented Aug 24, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment