Add vs dev at a local path

Anytime you add or dev a package it will just replace whatever specification of the package you had previously. You also have the option of doing things like add path/to/package#master to choose a specific branch. It is easy to inspect what happens by reading the package entry in Manifest.toml in your environment.

4 Likes