4 ms·
I'm not familiar with git, but can you post a read-only version publicly so others can still access all the commit history but not be subjected to pull requests
by fhdkweig 4mo ago
I'm not familiar with git, but can you post a read-only version publicly so others can still access all the commit history but not be subjected to pull requests?
- JTrehan 4mo agoIf you have somewhere to host it you can go with https://forgejo.org/ https://forgejo.org/ and have control over everything.
- ryandrake 4mo agoGit doesn’t even need to be “hosted” in the traditional sense. The whole point of it is that it is distributed and you don’t actually need a centralized source of truth.
- 1313ed01 4mo agoThat's pretty much what git over https does by default (is it even possible to do read-write to a git repo over https instead of ssh?). https://git-scm.com/docs/http-protocol https://git-scm.com/docs/http-protocol
- not_kurt_godel 4mo ago> is it even possible to do read-write to a git repo over https instead of ssh? Yes; it's not only possible but very common: https://docs.github.com/en/get-started/git-basics/about-remote-repositories#cloning-with-https-urls https://docs.github.com/en/get-started/git-basics/about-remo... (IIRC it is in fact actually even sometimes preferable from a security standpoint; or at least that's the tentative conclusion I've reached under a few specific circumstances over the years, although the exact details elude my memory at the moment.)
- 8ig8 4mo agoFossil https://fossil-scm.org https://fossil-scm.org
- danillonunes 4mo agoI think cgit is the simplest one that provides a browsable http version of the repository if that's what you want. It's used by the Linux Kernel itself. Example: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/ https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin...