Skip to content

Instantly share code, notes, and snippets.

@dbi
Created November 29, 2012 09:57
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 dbi/4167910 to your computer and use it in GitHub Desktop.
Save dbi/4167910 to your computer and use it in GitHub Desktop.
Giticonfig
[user]
name = David Billskog
email = billskog@gmail.com
[color]
diff = true
status = auto
branch = auto
interactive = auto
ui = true
[core]
excludesfile = /Users/dbi/.gitignore
[alias]
st = status
ci = commit
br = branch
co = checkout
pr = pull --rebase
who = shortlog -s --
l = log --oneline --decorate
graph = log --graph --oneline --decorate
datetag = !git tag `date \"+%Y%m%d%H%M\"`
undeployed = !git log `git tag|grep production|tail -n 1`..HEAD
unstage = reset HEAD --
standup = shortlog --since='1 day ago'
today = log --oneline --since=yesterday
unpushed = !git log origin/`git symbolic-ref HEAD 2> /dev/null | awk -F"/" '{ print $3 }'`..
unpulled = !"PROJ_BRANCH=$(git symbolic-ref HEAD | sed 's|refs/heads/||') && git fetch && git log HEAD..origin/$PROJ_BRANCH"
[push]
default = tracking
[merge "bundle"]
name = relocks the gemfile.lock
driver = bundle install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment