DanConwayDev on Nostr: If any project maintainers comes across this warning when doing a `git fetch`. The ...
If any project maintainers comes across this warning when doing a `git fetch`. The easiest thing to do is to add a other commit and push it. It will update the nostr state and the git server. Another way is to add the git server as a remote and push directly to that.
If the warning is `n ahead` it means that someone has pushes commits to the git server and not to nostr. To prevent you inadvertently overiting those commits and lose them forever you can't push conflicting commits. You'll need to add the git server as a remote, pull the commits, which commit you want to be the head and for push to the git served remote and the nostr remote.
Published at
2024-09-13 21:05:01Event JSON
{
"id": "a6d4664f6f2041ee1561e6ad88156d478af06c7dda99542ed4c20541ec295d33",
"pubkey": "a008def15796fba9a0d6fab04e8fd57089285d9fd505da5a83fe8aad57a3564d",
"created_at": 1726261501,
"kind": 1,
"tags": [
[
"e",
"284bbabba594527e38ea73956cf419becf0d3835bc4202aed15eb9b99bf88bf1",
"",
"root"
],
[
"e",
"07ceca255170f75bf117ba68dba3e3ef2d06ac591f91837d1af3cba993209016"
],
[
"e",
"c4877cc5f1ea9c6e467bbc1cff149c4269fcf49a70eaeab11090ca6c7693f414",
"",
"reply"
],
[
"p",
"a008def15796fba9a0d6fab04e8fd57089285d9fd505da5a83fe8aad57a3564d"
],
[
"p",
"bbb5dda0e15567979f0543407bdc2033d6f0bbb30f72512a981cfdb2f09e2747"
],
[
"a",
"30617:a008def15796fba9a0d6fab04e8fd57089285d9fd505da5a83fe8aad57a3564d:ngit"
]
],
"content": "If any project maintainers comes across this warning when doing a `git fetch`. The easiest thing to do is to add a other commit and push it. It will update the nostr state and the git server. Another way is to add the git server as a remote and push directly to that.\n\nIf the warning is `n ahead` it means that someone has pushes commits to the git server and not to nostr. To prevent you inadvertently overiting those commits and lose them forever you can't push conflicting commits. You'll need to add the git server as a remote, pull the commits, which commit you want to be the head and for push to the git served remote and the nostr remote.",
"sig": "d34d6e247e70f21f8a1594355a982e0888c4ed733cd811be6ff6c885c2d7965849e9359ef2287ca1913a5d0a61432da25e1e2696dd535ce0ca953bd97020c7d4"
}