mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-19 02:17:09 +00:00
A remote URL beginning with '-' could be parsed by git as an option flag (argv injection, e.g. --upload-pack=...). Validate the URL (reject a leading dash) and pass '--' before positional args so git stops option parsing. Covers both the new scope-switch remote path and the existing skill-repo URL editor that funnels through SetRemoteURL.