I've implemented this with `?protocol=&user=` or `nostr://fred@ssh/npub...` to enable overrides for push.

I've also updated `ngit init` to default to using https clone urls, as this is the most sensible for fetch.

Given that most repo events include ssh clone urls, I'm tempted to just always use https for fetch and ssh for push (with a https fallback) unless the `protocol` override is used. push failures of ssh are instant whereas over https sometimes needs to be prompted for credentials.

Next up I need to actually implement the override.

Reply to this note

Please Login to reply.

Discussion

No replies yet.