How to format Git settings in appsettings.json


I did try some options for Git connection, but can’t get a connection and I don’t really understand which username and password must be used.

I don’t know if it makes a difference, but i’m using a private repo.

I checked the documentation and also checked the forum, but I can’t find a example.

  "Data": {
    "RepositoryPath": "%ProgramData%\\UniversalAutomation\\Repository",
    "ConnectionString": "%ProgramData%\\UniversalAutomation\\database.db",
    "GitRemote": "",
    "GitUserName": "",
    "GitPassword": ""


We need to update the documentation for this. If you are using GitHub, you can create a Personal Access Token instead of using the user name and password. Then your username can be anything and you can use your PAT as the password.

I’ve had success with just using my username and password but I think we’re going to change the recommendation here to use the PAT instead.

Make sure that you include the .git extension when putting in your remote URL.


Thanks for the answers, I will try it later because i’m finishing a other project first. Can you tell me what you’re using as the GitRemote format? Like:

  1. HTTPS:

Or something else? If you let me know (ore someone else) I will check it.

Kind regards,

We’ve been using format number 1.