master
branch. If you wish to use a different branch, specify the GitBranch
setting within your appsettings.json
. C:\ProgramData\UniversalAutomation\Repository
.git
folder exists, and you do not wish to use this repository, you should delete it and PowerShell Universal will create a new repository.appsettings.json
file. appsettings.json
file and the git remote will be populated with your local files. C:\ProgramData\UniversalAutomation\Repository
appsettings.json
file to include the branch, credentials and git remote URL that you are cloning. Once the fields have been set, you can start the PowerShell Universal service. The first thing the service will do is clone the repository and configure it locally. GitSyncBehavior
setting in appsettings.json
. When set to OneWay
, the admin console and management API will become read-only. The PowerShell Universal system will pull from the remote but will never push or commit locally.appsettings.json
or other configuration methods.appsettings.json
.appsettings.json
file or another configuration method.git commit
and the author is set to the identity of the user making the change. During a git sync operation, we first perform a git pull
to ensure that we have the latest version of files on the remote. Next, we perform a git push
to push up local commits that have happened since the last sync. FileSystemWatcher
) and the way that git updates files, the configurations will not reload automatically after a pull. You will have to ensure that you force the configurations to be reevaluated.