Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
My git config
# git bash completion
. /usr/local/git/contrib/completion/git-completion.bash
alias g="git status"
[user]
name = Carsten Brandt
email = mail@cebe.cc
[alias]
# more on https://git.wiki.kernel.org/index.php/Aliases
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
[core]
editor = /usr/bin/vi
excludesfile = ~/.gitignore_global
# always commit unix line endings (http://help.github.com/line-endings/)
autocrlf = input
[color]
diff = auto
status = auto
branch = auto
interactive = auto
[merge]
summary = true
[rebase]
stat = true
[mergetool]
keepBackup = true
[push]
default = simple
# ~/.gitignore_global
#
# phpstorm ide files
.idea/*
# Mac stuff
.DS_Store
# bbedit project files
*.bbproject
*.bbprojectd
# ignore copied svn files
.svn/*
# temporary files
#gedit
*~
#vim
.*.swp
@cebe

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
You can’t perform that action at this time.