Skip to content

Instantly share code, notes, and snippets.

@prtksxna
Last active September 24, 2015 16:08
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 prtksxna/774230 to your computer and use it in GitHub Desktop.
Save prtksxna/774230 to your computer and use it in GitHub Desktop.
[user]
name = Put a Name
email = email@server.com
[color]
diff = auto
status = auto
branch = auto
interactive = auto
ui = true
pager = true
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow
frag = magenta
old = red
new = green
[color "status"]
added = yellow
changed = green
untracked = cyan
[alias]
ci = commit -a -m
cm = commit -m
pom = push origin master
pod = push origin dev
phm = push heroku master
co = checkout
st = status
praise = blame
di = diff
tree = log --graph --pretty=oneline
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
pgh = !git pom && git co -b gh-pages && git push origin gh-pages && git co master && git branch -d gh-pages && git lg | head
[core]
editor = emacs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment