Created
August 19, 2010 13:21
-
-
Save jmeridth/537855 to your computer and use it in GitHub Desktop.
.gitconfig
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
[user] | |
name = armmer | |
email = um...no | |
[color] | |
branch = auto | |
diff = auto | |
status = auto | |
[color "branch"] | |
current = yellow reverse | |
local = yellow | |
remote = green | |
[color "diff"] | |
meta = yellow bold | |
frag = magenta bold | |
old = red bold | |
new = green bold | |
[color "status"] | |
added = yellow | |
changed = green | |
untracked = cyan | |
[core] | |
editor = vim | |
[alias] | |
ci = commit | |
co = checkout | |
pom = pull origin master | |
ru = remote update | |
staged = diff --cached | |
unstaged = diff | |
both = diff HEAD | |
oneline = log --pretty=oneline | |
ammend = commit --ammend | |
st = status | |
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative | |
lstag = "!f() { for tag in $(git tag); do printf \"%10s\t\" $tag; git show $tag --pretty=format:\"commit: %C(yellow)%h %C(green) %C(green)%an [%cd] -- %s\" | grep commit; done; }; f" | |
find = grep -n -i | |
[auto] | |
crlf = true | |
[commit] | |
template = /Users/jmeridth/.gitmessage.txt | |
[achievement] | |
upload = true | |
[branch] | |
autosetuprebase = always |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
the lstag alias is via my co-worker Matt Dietz (cerberus98)