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

Just opened my first git issue on nostr

nostr:nevent1qqsgy6n23dwdyqs894ax2tq2ug2hwcvwu9na9hp0gkc3972re7wwfxcpzamhxue69uhkv6tvw3jhytnwdaehgu3wwa5kuegzyrgda0ulkyk7lq05847xjs5mk7zgz2kpunfd2w3q9km243l2fdrxcqcyqqqqv4g4xn7v6

Reply to this note

Please Login to reply.

Discussion

Avatar
sommerfeld 1y ago

For people using clients that can't display the above event: https://gitworkshop.dev/repo/ngit/issue/826a6a8b5cd202072d7a652c0ae21577618ee167d2dc2f45b112f943cf9ce49b/

Avatar
sudocarlos 1y ago

noStrudel "View raw" fixes this

Thread collapsed
Thread collapsed