Last active
August 29, 2015 13:56
-
-
Save kaylarose/9264746 to your computer and use it in GitHub Desktop.
Git Snippets
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
git config --global alias.ksreview '!f() { local SHA=${1:-HEAD}; local BRANCH=${2:-master}; if [ $SHA == $BRANCH ]; then SHA=HEAD; fi; git difftool -y -t Kaleidoscope $BRANCH...$SHA; }; f' | |
git config --global alias.ksshow '!f() { local SHA=${1:-HEAD}; git difftool -y -t Kaleidoscope $SHA^..$SHA; }; f' | |
git config --global alias.ksdiff "difftool -y -t Kaleidoscope" | |
git config --global core.editor vim | |
git config --global color.ui true | |
# || git config --global color.ui auto | |
git config --global rerere.enabled true | |
git config --list |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment