Created
July 12, 2015 19:57
-
-
Save akuhn/a5d2945642fb0e068d2e to your computer and use it in GitHub Desktop.
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
[alias] | |
d = "!cd ${GIT_PREFIX:-.} && git diff && [[ -z \"$(git diff)\" ]] && git diff --staged && [[ -z \"$(git diff --staged)\" ]] && git log -p master.." | |
l = "!cd ${GIT_PREFIX:-.} && if [[ -z \"$(git diff --name-only && git diff --name-only --staged)\" ]]; then git log --stat master..; else git status; fi" | |
book = bookmark | |
drop = stash save 'dropping local changes' | |
touch = "!GIT_COMMITTER_DATE=\"`date`\" git commit --amend --date \"`date`\"" | |
wip = stash save 'work in progress' | |
[color] | |
ui = auto | |
[core] | |
editor = /usr/bin/vim | |
excludesfile = ~/.gitignore_global | |
[push] | |
default = current | |
[rerere] | |
enabled = 1 | |
[color "diff"] | |
frag = yellow |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment