KB0030 - Git sync no longer runs after switching from Manual mode to Automatic mode

KB0030 - Git sync no longer runs after switching from Manual mode to Automatic mode

Applicability

This article applies to users running PowerShell Universal 3.4.0 or later and using git synchronization. 
In the debug log level, you will see the message: Git edit in progress. Skipping git sync.

Root Cause

When PowerShell Universal is in manual edit mode, it pauses the git synchronization process. If a user changes from manual edit mode to automatic edit mode but does not discharge or saving their changes, the git synchronization process will no longer run. It will appear that it returns immediately and will no longer list synchronizations in the git page. 

Workaround

To work around this issue, you can switch back to manual edit mode, discard or save the changes and then switch back to automatic mode. You can accomplish this in in either the database or appsettings.json.