masterbranch. If you wish to use a different branch, specify the
GitBranchsetting within your
.gitfolder exists, and you do not wish to use this repository, you should delete it and PowerShell Universal will create a new repository.
appsettings.jsonfile and the git remote will be populated with your local files.
appsettings.jsonfile 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.
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.jsonor other configuration methods.
appsettings.jsonfile or another configuration method.
git commitand the author is set to the identity of the user making the change. During a git sync operation, we first perform a
git pullto ensure that we have the latest version of files on the remote. Next, we perform a
git pushto 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.