Michael J on Nostr: DanConwayDev ngit v1.4.6 seems to be broken with my repo setup. When I try to run it ...
DanConwayDev (npub15qy…yejr) ngit v1.4.6 seems to be broken with my repo setup. When I try to run it from the root directory of the repo, it gives me this error:
```
Error: git should set GIT_DIR when remote helper is called
Caused by:
environment variable not found
```
If I manually set GIT_DIR to point to the repo's `.git` file, then run `ngit push`, I get the following:
```
Error: invalid nostr url
Caused by:
relative URL without a base
```
Has my configuration gotten messed up somehow?
Published at
2024-09-16 14:21:47Event JSON
{
"id": "c34730b3d0f587c749aca370455dc83e57967ceed89a8d5800fd710482ae5321",
"pubkey": "70122128273bdc07af9be7725fa5c4bc0fc146866bec38d44360dc4bc6cc18b9",
"created_at": 1726496507,
"kind": 1,
"tags": [
[
"p",
"a008def15796fba9a0d6fab04e8fd57089285d9fd505da5a83fe8aad57a3564d",
"",
"mention"
]
],
"content": "nostr:npub15qydau2hjma6ngxkl2cyar74wzyjshvl65za5k5rl69264ar2exs5cyejr ngit v1.4.6 seems to be broken with my repo setup. When I try to run it from the root directory of the repo, it gives me this error: \n\n```\nError: git should set GIT_DIR when remote helper is called\n\nCaused by:\n environment variable not found\n```\n\nIf I manually set GIT_DIR to point to the repo's `.git` file, then run `ngit push`, I get the following: \n\n```\nError: invalid nostr url\n\nCaused by:\n relative URL without a base\n```\n\nHas my configuration gotten messed up somehow?",
"sig": "991bd449ff7e570ad349bb1425b8fb525df2341d7440b9e83d208401876fd666638be985d66fe2bab16fd1f0805c50cdca8bcaf3511a66a7aa7f3e11761f1bcf"
}