Skip to content

Instantly share code, notes, and snippets.

@localshred
Created October 6, 2011 16:10
Show Gist options
  • Save localshred/1267810 to your computer and use it in GitHub Desktop.
Save localshred/1267810 to your computer and use it in GitHub Desktop.
My ~/.gitconfig file
[core]
editor = vi
[color]
status = auto
interactive = auto
grep = auto
branch = auto
diff = auto
[alias]
st = status
di = diff
co = checkout
ci = commit
cia = commit -a
br = branch
sta = stash
ls = ls-remote .
pu = push
pom = push origin master
poq = push origin qa
pos = push origin stage
pop = push origin stable
phm = push heroku master
unstage = reset HEAD --
softrm = rm --cached --
softrmdir = rm --cached -r --
logp = log --oneline
recent = log --oneline -10
last = log -1 HEAD
sha = log -1 --oneline HEAD
mine = !git log --author=`git config user.email`
difforigin = diff origin/master --name-only
cfg = config
cfgg = config --global
fl = flow
fli = flow init
flh = flow hotfix start
flr = flow release start
flf = flow feature start
fls = flow support start
[branch]
autosetuprebase = remote
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment