Skip to content

Instantly share code, notes, and snippets.

@ghiden
Created February 18, 2013 02:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ghiden/4974739 to your computer and use it in GitHub Desktop.
Save ghiden/4974739 to your computer and use it in GitHub Desktop.
git config
[user]
name = ...
email = YOUR@EMAIL.COM
[core]
autocrlf = input
safecrlf = true
[alias]
co = checkout
ci = commit
st = status
br = branch
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
type = cat-file -t
dump = cat-file -p
ds = diff --staged
ls = log --pretty=format:"%C(yellow)%h %C(blue)%ad%C(red)%d %C(reset)%s%C(green) [%cn]" --decorate --date=short
[color]
ui = auto
standup = log --since '1 day ago' --oneline --author YOUR@EMAIL.COM
graph = log --graph --pretty=format':%C(yellow)%h%Cblue%d%Creset %s %C(white) %an, %ar%Creset'
[github]
user = ...
token = ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment