mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-27 01:02:42 +01:00
Update old documentation about arc set-config
Summary: Fixes T10223. Test Plan: Read documentation. Reviewers: chad Reviewed By: chad Maniphest Tasks: T10223 Differential Revision: https://secure.phabricator.com/D15116
This commit is contained in:
parent
6349741760
commit
9c19a026a8
1 changed files with 12 additions and 12 deletions
|
@ -140,23 +140,23 @@ to your `.bashrc`, `.profile` or similar:
|
||||||
== Configuration ==
|
== Configuration ==
|
||||||
|
|
||||||
Some Arcanist commands can be configured. This configuration is read from
|
Some Arcanist commands can be configured. This configuration is read from
|
||||||
several sources:
|
three sources, in order:
|
||||||
|
|
||||||
# A customization can force any setting with
|
# A project can specify configuration in an `.arcconfig` file. This file is
|
||||||
@{method@arcanist:ArcanistWorkingCopyIdentity::setRuntimeConfig}.
|
JSON, and can be updated using `arc set-config --local` or by editing
|
||||||
# User can specify settings for working copy in `arc/config` file located in
|
it manually.
|
||||||
VCS directory (e.g. `.git/arc/config`) in JSON format. This file can also be
|
# User configuration is read from `~/.arcconfig`. This file is JSON, and can
|
||||||
modified by running `arc set-config --local`.
|
be updated using `arc set-config`.
|
||||||
# Repository can specify its config in `.arcconfig` in JSON format.
|
# Host configuration is read from `/etc/arcconfig` (on Windows, the path
|
||||||
# User can specify the settings in `~/.arcrc` (JSON) through the `config` key.
|
is `C:\ProgramData\Phabricator\Arcanist\config`).
|
||||||
This file can be modified also by `arc set-config --global`.
|
|
||||||
# Machine can specify the settings with `/etc/arcconfig` (JSON). On Windows,
|
|
||||||
the file path is `C:\ProgramData\Phabricator\Arcanist\config`.
|
|
||||||
|
|
||||||
The first place where the setting is defined wins.
|
Arcanist uses the first definition it encounters as the runtime setting.
|
||||||
|
|
||||||
Existing settings can be printed with `arc get-config`.
|
Existing settings can be printed with `arc get-config`.
|
||||||
|
|
||||||
|
Use `arc help set-config` and `arc help get-config` for more information
|
||||||
|
about reading and writing configuration.
|
||||||
|
|
||||||
== Next Steps ==
|
== Next Steps ==
|
||||||
|
|
||||||
Continue by:
|
Continue by:
|
||||||
|
|
Loading…
Reference in a new issue