Created
September 12, 2013 18:55
-
-
Save nenadjaja/6542230 to your computer and use it in GitHub Desktop.
Git config for user ndjaja
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.l=log --pretty=oneline -n 20 --graph --abbrev-commit | |
| alias.s=status -s | |
| alias.d=!git diff-index --quiet HEAD -- || clear; git --no-pager diff --patch-with-stat | |
| alias.di=!d() { git diff --patch-with-stat HEAD~$1; }; git diff-index --quiet HEAD -- || clear; d | |
| alias.p=!git pull; git submodule foreach git pull origin master | |
| alias.c=clone --recursive | |
| alias.ca=!git add -A && git commit -av | |
| alias.go=checkout -B | |
| alias.tags=tag -l | |
| alias.branches=branch -a | |
| alias.remotes=remote -v | |
| alias.credit=!f() { git commit --amend --author "$1 <$2>" -C HEAD; }; f | |
| alias.reb=!r() { git rebase -i HEAD~$1; }; r | |
| apply.whitespace=fix | |
| core.excludesfile=~/.gitignore | |
| core.attributesfile=~/.gitattributes | |
| core.whitespace=space-before-tab,indent-with-non-tab,trailing-space | |
| color.ui=auto | |
| color.branch.current=yellow reverse | |
| color.branch.local=yellow | |
| color.branch.remote=green | |
| color.diff.meta=yellow bold | |
| color.diff.frag=magenta bold | |
| color.diff.old=red bold | |
| color.diff.new=green bold | |
| color.status.added=yellow | |
| color.status.changed=green | |
| color.status.untracked=cyan | |
| merge.log=true | |
| [email protected]:.insteadof=gh: | |
| [email protected]:.pushinsteadof=github: | |
| [email protected]:.pushinsteadof=git://github.com/ | |
| url.git://github.com/.insteadof=github: | |
| [email protected]:.insteadof=gst: | |
| [email protected]:.pushinsteadof=gist: | |
| [email protected]:.pushinsteadof=git://gist.github.com/ | |
| url.git://gist.github.com/.insteadof=gist: | |
| push.default=matching | |
| [email protected] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment