From 75651b8e95b780dea7ceb0a4998d901b33309c6c Mon Sep 17 00:00:00 2001 From: Pavel Savchenko Date: Tue, 20 Feb 2018 11:11:43 +0100 Subject: [PATCH] Docs: correct code formatting in README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index af274f1..310ae3b 100644 --- a/README.md +++ b/README.md @@ -35,16 +35,16 @@ Installation ------------ 1. Install exiftool and ImageMagick. (The script will cope with these missing, -but it's not going to be very exciting without them.) +but it's not going to be very exciting without them). - ``` +```bash 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: - ``` +```bash ~/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 ------------------------