diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitano/command.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/gitano/command.lua b/lib/gitano/command.lua index 317d32a..e7a61cb 100644 --- a/lib/gitano/command.lua +++ b/lib/gitano/command.lua @@ -398,11 +398,17 @@ View and manipulate the configuration of a repository. then you should set the filter exactly to `foo.*` which will cause the show command to expand list keys into the form `foo.i_N` where N is the index in the list. + + For example: `config sampler set project.readers.* alice`, + and `config sampler set project.readers.* bob` will add users alice and + bob to the `project.readers` list for the sampler.git repository. + * config <reponame> set key value Set the given configuration key to the given value. If the key ends in `.*` then the system will add the given value to the end of the list represented by the key. To replace a specific entry, set the specific `i_N` entry to the value you want to replace it. + * config <reponame> {del,delete,rm} key Removes the given key from the configuration set. If the key ends in `.*` then the system will remove all configuration values below that prefix. |