Skip to content

Instantly share code, notes, and snippets.

@dwickwire
Created December 6, 2013 15:41
Show Gist options
  • Save dwickwire/7826790 to your computer and use it in GitHub Desktop.
Save dwickwire/7826790 to your computer and use it in GitHub Desktop.
Git config for coloring and so on, goes into ~/.gitconfig
[alias]
co = checkout
br = branch
ci = commit
st = status
deploytag = "!git tag deploy-`date \"+%Y%m%d%H%M\"` && git push --tags"
switch = !legit switch \"$@\"
branches = !legit branches
sprout = !legit sprout \"$@\"
unpublish = !legit unpublish \"$@\"
harvest = !legit harvest \"$@\"
sync = !legit sync \"$@\"
publish = !legit publish \"$@\"
graft = !legit graft \"$@\"
[color]
branch = auto
diff = auto
status = auto
[color "branch"]
current = yellow reverse
local = bold yellow
remotme = bold green
[color "status"]
added = bold yellow
changed = bold cyan
untracked = cyan
[color "diff"]
meta = bold cyan
frag = cyan
old = bold red
new = bold green
[user]
name = yourname
email = youremail
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment