I cancelled my ngit init halfway through, I set the origin to the nostr url and try to run `ngit init` again which gave me an error:
```bash
ngit init
fetching updates...
no updates
Error: no repo events at specified coordinates
```
I cancelled my ngit init halfway through, I set the origin to the nostr url and try to run `ngit init` again which gave me an error:
```bash
ngit init
fetching updates...
no updates
Error: no repo events at specified coordinates
```
The Repository announcement does not exist yet, the cli should suggest me to create it.
In what scenario? if you try to push to the nostr url? How would it know if you were the maintainer or just someone who adding a nostr url but made a mistake with npub / identifer / relay hints? Should it detect if the current git user name and email match any of the recent commits?
I thought about having a prompt when this error occurred but if the user is running a gui, they wouldn't see the prompt and the process wouldn't end.
I've therefore changed the error message to:
> no repo announcement event found at specified coordinates. consider running `ngit init` to create one if you are the repository maintainer
Another approach could be to issue a prompt with a timeout so the process would fail but for now I think this error message is clear enough and its not much of a lift to ask the user to run the `ngit init` command.
fixed this a while ago but I just improved this further by not trying to set the nostr url as the git server in some sort of circular reference in 7ccb251ea99e7a3f396754302eb0f836a1b5a608.