Skip to content

Commit 002fa4e

Browse files
authored
Mention the General registry is automatically added only if no other registries are installed (#2694)
1 parent 4e068dd commit 002fa4e

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

docs/src/registries.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
Registries contain information about packages, such as
44
available releases and dependencies, and where they can be downloaded.
55
The `General` registry (https://github.com/JuliaRegistries/General)
6-
is the default one, and is installed automatically.
6+
is the default one, and is installed automatically if there are no
7+
other registries installed.
78

89
## Managing registries
910

@@ -19,7 +20,11 @@ the [Registry API Reference](@ref) section.
1920

2021
A custom registry can be added with the `registry add` command
2122
from the Pkg REPL. Usually this will be done with a URL to the
22-
registry. Here we add the `General` registry:
23+
registry.
24+
25+
Adding a custom registry might cause the `General` registry to not
26+
be added automatically. In that case, we can simply add the `General`
27+
registry manually:
2328

2429
```julia-repl
2530
pkg> registry add https://github.com/JuliaRegistries/General

0 commit comments

Comments
 (0)