Skip to content

Instantly share code, notes, and snippets.

@jondavidjohn
Created July 21, 2011 03:43
Show Gist options
  • Save jondavidjohn/1096450 to your computer and use it in GitHub Desktop.
Save jondavidjohn/1096450 to your computer and use it in GitHub Desktop.
Starter .gitconfig
[color]
diff = auto
status = auto
branch = auto
[user]
name = ***YOUR NAME***
email = ***YOUR EMAIL***
[core]
excludesfile = /path/to/global/.gitignore
editor = ***PREFERRED EDITOR***
[alias]
st = status
d = diff
ci = commit -v
cia = commit -v -a
co = checkout
cp = cherry-pick
dci = svn dcommit
l = log
ll = log -p
lm = log master..
llm = log -p master..
b = branch
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment