Skip to content

Configuration

Ibrahim Serdar Acikgoz edited this page Dec 16, 2018 · 4 revisions

gitbatch can be optionaly pre-configured via a configuration file. The config file is located in:

  • ~/.config/gitbatch # for linux
  • ~/Library/Application Support/gitbatch #for darwin(macos)
  • %APPDATA\gitbatch # for windows

config.yml is the name of the config file and it is in YAML format. The file currently can hold five types of configuration argument. These are

mode: <mode> # can be fetch, pull, merge
paths: # give absolute path(s) as below and avoid using '~' or environment variables
- </path/to/your/directory1>
- </path/to/your/directory2>
...
loglevel: <level> # since stdout is occupied by gui, it is sesible to run at least error level
quick: <bool> # if true, runs without gui and fetchs/pulls all repositories in the given directory(s)
recursion: <number> # number of recursions to search git repositories for a given directory(s)
Clone this wiki locally