Skip to content

Instantly share code, notes, and snippets.

@karuna
Last active August 29, 2015 14:08
Show Gist options
  • Save karuna/7a7f8d6b16177a6c2648 to your computer and use it in GitHub Desktop.
Save karuna/7a7f8d6b16177a6c2648 to your computer and use it in GitHub Desktop.
minimum git config
[core]
editor = vi
[alias]
co = checkout
ci = commit
st = status
br = branch
hist = log --pretty=format:\"%C(yellow)%h%Creset %ad | %Cgreen%s%Creset%d %Cred[%cn - %ce]%Creset\" --graph --date=iso --decorate
history = log --pretty=format:\"%C(yellow)%h%Creset %ad | %Cgreen%s%Creset%d %Cred[%cn - %ce]%Creset\" --graph --date=iso --decorate
type = cat-file -t
dump = cat-file -p
[color]
branch = auto
diff = auto
interactive = auto
status = auto
[push]
default = matching
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment