Created
July 13, 2012 08:14
-
-
Save juandebravo/3103566 to your computer and use it in GitHub Desktop.
gitconfig_example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
name = <username> | |
email = <email> | |
[alias] | |
lg= log --graph --abbrev-commit --date=relative --all | |
co = checkout | |
br = branch | |
ci = commit | |
st = status | |
unstage = reset HEAD -- | |
last = log -1 HEAD | |
[color] | |
ui=true | |
[core] | |
autocrlf = input | |
excludesfile = ~/.gitignore | |
[format] | |
pretty = %Cred%h%Creset -%C(yellow)%d%Creset %s - %Cblue%an%Creset %Cgreen(%cr)%Creset | |
[browser "gitscm"] | |
cmd = /bin/sh -c 'open http://git-scm.com/docs/$(basename $1 .html)' -- | |
[help] | |
browser = gitscm | |
format = html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment