Issue
You want to view git logs from a client’s IguanaMainRepo
Revert to a previous commit if IguanaMainRepo has been corrupted
Solution
Oftentimes, Iguana will need to get rebuilt if the repository has been corrupted. Refer to case 1 - if Iguana is still having issues restarting, refer to case 2.
Case 1: Quick Rebuild (No need to use git)
Backup the “edit” and “IguanaConfigurationRepo”
Stop Iguana service
Delete the edit, run, and IguanaConfigurationRepo folders
Restart Iguana
This method deletes the problem folders but does not touch other files in the working directory. These folders will get rebuilt using the IguanaMainRepo on startup.
Case 2: Rebuild (Reverting to a previous commit)
You can view the logs using the Mac/Windows program SourceTree, but you will need a cloned IguanaMain repo. Run the following command with git or in git bash:
...
Backup the Iguana Installation/ working directory
Stop Iguana service
Delete the IguanaMainRepo, edit, run, and IguanaConfigurationRepo folders
Insert the reverted IguanaMainRepo into the working/installation directory
Restart the Iguana Service
Refer to Video:
...
Empty Repo Error
If you get the error “warning: You appear to have cloned an empty repository.” it means that the IguanaMainRepo’s git has been corrupted:
...