Created
July 31, 2014 11:00
-
-
Save falsefalse/d7dd330075999ebe9e55 to your computer and use it in GitHub Desktop.
Start with this
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
# mostly taken from http://cheat.errtheblog.com/s/git | |
[core] | |
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
# display tab as 2 spaces instead of 8 | |
# http://www.liferay.com/web/raymond.auge/blog/-/blogs/setting-tabwidths-to-match-the-project-settings-in-git-and-vi | |
pager = less -FXRS -x2 | |
[color] | |
ui = auto | |
[color "branch"] | |
current = yellow reverse | |
local = yellow | |
remote = green | |
[color "diff"] | |
meta = yellow bold | |
frag = magenta bold | |
old = red bold | |
new = green bold | |
whitespace = red reverse | |
[color "status"] | |
added = yellow | |
changed = green | |
untracked = cyan | |
[alias] | |
st = status | |
br = branch | |
ft = fetch | |
blame = blame --date=short | |
ci = commit | |
cia = commit --amend | |
ciac = commit --amend --reuse-message HEAD | |
co = checkout | |
df = diff | |
dff = diff --cached | |
ldf = log -p | |
gl = log --graph | |
lol = log --graph --decorate --pretty=oneline --abbrev-commit | |
# fucking typos | |
tags = tag | |
[diff] | |
algorithm = patience | |
[push] | |
default = current | |
[user] | |
name = <Your Name> | |
email = <[email protected]> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment