Last active
April 20, 2016 07:35
-
-
Save endSly/0d2e9a7e6d3cf44a274a to your computer and use it in GitHub Desktop.
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
[core] | |
editor = vim | |
excludesfile = ~/.gitignore_global | |
# Treat spaces before tabs and all kinds of trailing whitespace as an error. | |
# [default] trailing-space: looks for spaces at the end of a line | |
# [default] space-before-tab: looks for spaces before tabs at the beginning of | |
# a line | |
whitespace = space-before-tab,-indent-with-non-tab,trailing-space | |
# Make `git rebase` safer on OS X | |
# More info: <http://www.git-tower.com/blog/make-git-rebase-safe-on-osx/> | |
trustctime = false | |
[apply] | |
# Detect whitespace errors when applying a patch | |
whitespace = fix | |
[user] | |
email = [email protected] | |
name = Endika Gutiérrez | |
[alias] | |
s = status | |
ci = commit -m | |
cia = commit --all -m | |
amend = commit --all --amend | |
f = fetch --prune --all | |
co = checkout | |
cm = checkout master | |
cb = checkout -b | |
br = branch | |
pl = pull | |
p = push | |
rt = remote | |
rb = rebase | |
rbp = rebase --preserve-merges | |
rbi = rebase --interactive | |
rbpi = rebase --preserve-merges --interactive | |
ad = add . | |
undo = reset HEAD^ | |
pk = cherry-pick | |
last = cat-file commit HEAD | |
l = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' | |
la = l --all | |
lb = log --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' | |
pom = push origin master | |
po = push origin | |
phm = push heroku master | |
plom = pull origin master | |
plo = pull origin | |
[credential] | |
helper = osxkeychain | |
[push] | |
default = current | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment