Skip to content

Instantly share code, notes, and snippets.

@zarino
Created May 15, 2013 10:54
Show Gist options
  • Save zarino/5583154 to your computer and use it in GitHub Desktop.
Save zarino/5583154 to your computer and use it in GitHub Desktop.
[user]
name = Your Name Here
email = your@email.com
[github]
user = your_github_username
token = your_github_api_key
[core]
editor = nano
pager =
[color]
diff = auto
status = auto
branch = auto
[status]
relativePaths = false
[alias]
ci = commit
co = checkout
d = diff
dc = diff --cached
lc = log ORIG_HEAD.. --stat --no-merges
gl = log --oneline --decorate --stat --graph
st = status -sb
prune-all = !git remote | xargs -n 1 git remote prune
whatis = show -s --pretty='tformat:%h (%s, %ad)' --date=short
whois = "!sh -c 'git log -i -1 --pretty=\"format:%an <%ae>\n\" --author=\"$1\"' -"
[push]
default = current
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment