Created
March 1, 2017 16:31
-
-
Save gburd/dfd33fceb7fd7065c122ad85e1f1f256 to your computer and use it in GitHub Desktop.
How to use Kaleidascope for code reivew
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
| Installing KSReview | |
| To install ksreview from the command line, just enter the following: | |
| 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' | |
| Using KSReview | |
| To use ksreview while you're on the feature branch, assuming your mainline branch is master, just enter the following at the command line: | |
| git ksreview | |
| If you're on a different branch or your mainline isn't master, you can be more specific: | |
| git ksreview feature-branch-name-or-sha mainline-branch-name | |
| We hope you enjoy using ksreview! |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://blackpixel.com/writing/2012/11/code-review-kaleidoscope.html