FredrikNoren / ungit

The easiest way to use git. On any platform. Anywhere.
MIT License
10.41k stars 637 forks source link

Location of .ungitrc #1507

Open Lonerider2010 opened 2 years ago

Lonerider2010 commented 2 years ago

Running my environment on Ubuntu, I am able to run ungit in three different ways:

  1. as standalone program ungit and can use a lot of options, see ungit -h
  2. as web application at URL http://localhost:8448/#/
  3. as VSCodium extension

Each of the three instances uses obviously a different configuration, as each home page lists different repositories, with the VSCodium extension having no home page. So I thought that should depend on different configuration files .ungitrc. The problem is that I cannot find any ungit configuration file at all. Where can I find them?

jung-kim commented 2 years ago

config.js is where it is.

They will all be using the file at ~/.ungitrc. Below is my file as an example

[~]$ cat ~/.ungitrc
{
  "launchBrowser": false,
  "defaultRepositories": [
    "/Users/aaa/bbb/ccc",
  ],
  "bugtracking": true,
  "logLevel": "debug"
}