Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opam remote set-url --add #6353

Open
kit-ty-kate opened this issue Jan 6, 2025 · 0 comments
Open

opam remote set-url --add #6353

kit-ty-kate opened this issue Jan 6, 2025 · 0 comments

Comments

@kit-ty-kate
Copy link
Member

Similarly to git remote set-url --add this option would be useful to simplify things like opam remote add <name> <url> || opam remote set-url <name> <url> in scripts or other "steps to follow" used to make sure the recipient has the correct remote at the correct url.

As a side-note, opam remote add <name> <url> currently does not return an error when url is the current url of the repository name but does return an error when it's not, whereas git remote will raise an error in both cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant