Skip to content

Instantly share code, notes, and snippets.

@raimohanska
Created February 12, 2014 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save raimohanska/8956153 to your computer and use it in GitHub Desktop.
Save raimohanska/8956153 to your computer and use it in GitHub Desktop.
My .gitconfig
[user]
name = Juha Paananen
email = juha.paananen@gmail.com
[color]
ui = auto
diff = true
[alias]
st = status
stp = status --porcelain
br = branch
p = pull
pr = pull --rebase
ci = commit -v
cam = commit -am
cim = commit -m
aa = add .
ap = add -p
co = checkout
df = diff
dfc = diff --cached
lg = log -p
vlog = log --graph --full-history --all --oneline --decorate=full
amend = commit -a --no-edit --amend
sfetch = svn fetch
srebase = svn rebase
spull = !git-svn fetch && git-svn rebase
spush = !git-svn dcommit
prev = !git log --oneline -n 1|cut -d ' ' -f 1
pp = !git pull&&git push
lolpush = !git stash && git pull --rebase && git push && git stash pop
lolpull = !git stash && git pull --rebase && git stash pop
r = !git l -15
l = "!. ~/.githelpers && pretty_git_log"
ra = !git r --all
[pack]
threads = 0
[diff]
renamelimit = 0
[core]
# autocrlf=true
# eol=lf
[branch]
autosetuprebase = always
[push]
default = upstream
[merge]
conflictstyle = diff3
[rerere]
enabled = 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment