Created
January 7, 2011 07:29
-
-
Save lepture/769225 to your computer and use it in GitHub Desktop.
git config
This file contains hidden or 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
[core] | |
editor=vim | |
[merge] | |
tool = vimdiff | |
[alias] | |
st = status | |
ci = commit -a | |
br = branch | |
df = diff | |
co = checkout | |
who = shortlog -s -- | |
unstage = reset HEAD -- | |
last = log -1 HEAD | |
lg = log --graph --pretty='format:%Cblue%an%Creset commit at %Cgreen%ar%Creset: \n %Cred%h%Creset %C(yellow)%d%Creset %s\n' | |
graphviz = "!f() { echo 'digraph git {' ; git log --pretty='format: %h -> { %p }' \"$@\" | sed 's/[0-9a-f][0-9a-f]*/\"&\"/g' ; echo '}'; }; f" | |
lc = "! git log --pretty=oneline|wc -l" | |
[color] | |
ui = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment