Skip to content

Instantly share code, notes, and snippets.

@mindscratch
Created February 25, 2014 11:56
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 mindscratch/9207556 to your computer and use it in GitHub Desktop.
Save mindscratch/9207556 to your computer and use it in GitHub Desktop.
git config
[core]
editor = vim
[diff]
tool = kompare
[difftool]
prompt = false
[color]
ui = true
branch = auto
diff = auto
status = auto
[alias]
unstage = reset HEAD
co = checkout
ci = commit
st = status -sb
br = branch
ds = diff --staged
standup = log --since '1 day ago' --oneline -author <email address>
hist = log --pretty=format:\"%h %ad | %s%d [@an]\" --graph --date=short
gr = log --graph --full-history --all --color --pretty=format:\"%x1b[31m%h%x09%x1b[32m%d%x1b[0m%x20%s [%an]\"
lg = "log --stat --graph --abbrev-commit --date=relative" --pretty=format:'%Cred%h%Creset -%C(bold black)%d%Creset %s %C(bold green)(%cr) %C(bold blue)<%an>%Creset'
[user]
name = <name>
email = <email address>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment