Why Nostr? What is Njump?
2023-10-26 18:06:28
in reply to

Mark T. Tomczak on Nostr: npub1upkp7…4tcwy Oh yeah, it's a thing. Apparently, you can use a pre-commit hook ...

Oh yeah, it's a thing.

Apparently, you can use a pre-commit hook to block commits to your main branch, but there's no one-flag-flip thing to do this because git, at a fundamental philosophical level, has no notion of "main" branch. Branches are branches. No branch is more special than any other. Linus recognizes that anyone could, at any time, fork Linux, make it more popular than the version he maintains, and become a new main.

That core philosophy point isn't the most helpful thing for workflows where that's nonsense.
Author Public Key
npub1wgss3r73xkpwp3gz3lqq5ftnqwqav4u2p4lzp2670cut7gapf6yqhja0n5