diff --git a/README.md b/README.md index 09436a2..af274f1 100644 --- a/README.md +++ b/README.md @@ -37,14 +37,14 @@ Installation 1. Install exiftool and ImageMagick. (The script will cope with these missing, but it's not going to be very exciting without them.) -``` + ``` brew install exiftool imagemagick -``` + ``` 2. Run `./install.sh`, which will configure your global git config for you. It will tell you what it's done, so it should look something like this: -``` + ``` ~/git-diff-image $ ./install.sh + git config --global core.attributesfile '~/.gitattributes' + touch '/Users/yourname/.gitattributes' @@ -54,7 +54,7 @@ It will tell you what it's done, so it should look something like this: + echo '*.png diff=image' >>'/Users/yourname/.gitattributes' + git config --global alias.diff-image '!f() { GIT_DIFF_IMAGE_ENABLED=1 git diff "$@"; }; f' + git config --global diff.image.command '~/git-diff-image/git_diff_image' -``` + ``` Public domain dedication ------------------------