add a new git repository
The repository add command adds a git repository to the catalogue of repositories used for task and workflow configuration.
The default revision of the repository may be explicitly specified by passing the flag --default-revision . In any case,
the ensuing list is followed until a valid revision has been identified:
- explicitly set default revision (optional)
- global default revision
mastermain
Exhaustion of the aforementioned list results in a repo add failure.
coconut repo add can be called with
- a repository identifier
- a repository identifier coupled with the
--default-revisionflag (see examples below)
The protocol prefix should always be omitted.
coconut repository add <repo url> [flags]
* `coconut repo add github.com/AliceO2Group/ControlWorkflows`
* `coconut repo add github.com/AliceO2Group/ControlWorkflows --default-revision custom-rev`
* `coconut repo add alio2-cr1-hv-gw01.cern.ch:/opt/git/ControlWorkflows --default-revision custom-rev`
* `coconut repo add /home/flp/git/ControlWorkflows`
-d, --default-revision string default revision for repository to add
-h, --help help for add
--config string optional configuration file for coconut (default $HOME/.config/coconut/settings.yaml)
--config_endpoint string configuration endpoint used by AliECS core as PROTO://HOST:PORT (default "apricot://127.0.0.1:32101")
--endpoint string AliECS core endpoint as HOST:PORT (default "127.0.0.1:32102")
--nocolor disable colors in output
--nospinner disable animations in output
-v, --verbose show verbose output for debug purposes
- coconut repository - manage git repositories for task and workflow configuration