Created
September 9, 2012 08:59
-
-
Save og-shawn-crigger/3683403 to your computer and use it in GitHub Desktop.
Global Git Config file
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 = | |
email = [...] | |
[color] | |
ui = auto | |
[color "branch"] | |
current = blue reverse | |
local = blue | |
remote = green | |
[color "diff"] | |
meta = blue bold | |
frag = magenta bold | |
old = red bold | |
new = green bold | |
whitespace = red reverse | |
[color "status"] | |
added = blue | |
changed = green | |
untracked = cyan | |
[core] | |
editor = subl -w | |
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
[alias] | |
ci = commit | |
cm = commit -am | |
br = branch | |
co = checkout | |
lp = log -p | |
who = shortlog -n -s --no-merges | |
undo = reset --hard | |
lc = log ORIG_HEAD.. --stat --no-merges | |
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative | |
lf = log --pretty=fuller | |
cleanup = !git gc && git remote prune origin | |
fork = remote add -f | |
ghpages = !git pull && git co gh-pages && git merge master && git push && git co master | |
ls = ls-files | |
# Show files ignored by git: | |
ign = ls-files -o -i --exclude-standard | |
## Usage: `git invoice` to list recent commits in "pretty format" | |
invoice = log --pretty=format:'%ad - %s' --abbrev-commit --date=short |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment