Change the Path to Git


On some servers, the installation path to Git may not be readable by Revisr, or Revisr might be picking up the wrong path if you have more than one installation of Git. Luckily, this is an easy fix, and can be changed by adding the REVISR_GIT_PATH constant to your ‘wp-config.php’ as shown below:

define( 'REVISR_GIT_PATH', '/usr/bin/git' );

Where ‘/usr/bin/git’ is the path to git that can be found by running “which git” in Terminal for Mac/Linux or by running “where git” in command line for Windows.

Last updated on January 13, 2017