Replying to Avatar sommerfeld

ngit clone

I was thinking that a `ngit clone ....` command might be useful.

Usage:

```bash

$ ngit clone NADDR|REPO_NAME

```

where `NADDR` is the naddr of the kind 30617 git announcement event and `REPO_NAME` can be:

* just the repository name, and it would default to searching it on gitworkshop.dev

* `@usename:repo` where username would be resolved using the logged in user's contact list (if there are no ambiguities)

* `npub|nprofile|nip05:repo`

The command would call `git clone` using the first provided clone git repository, using others as fail-overs. It would also set non-primary clone repositories as other git remotes using `git remote add`.

What do you all think? If you like it, I would like to take a shot at implementing it.

Avatar
sommerfeld 1y ago

Fixes nostr:nevent1qqsgy6n23dwdyqs894ax2tq2ug2hwcvwu9na9hp0gkc3972re7wwfxcn7cxml

Is there a native ngit way to mark that "this proposal fixes this issue"?

Reply to this note

Please Login to reply.

Discussion

No replies yet.