5 ms·
You already have a Git server
- BadBadJellyBean 3mo agoThis is indeed a Git server. It is not a Git Forge though. Pull Requests, Issues, CI/CD, access management, etc. are about as important as a putting my code somewhere.
- dolmen 3mo agoFor access management (sharing the Git-over-ssh hosting for a centralized repo), gitolite adds the little layer. https://gitolite.com https://gitolite.com
- edwardleecase 3mo ago[dead]
- account42 3mo agoYou can also have an upstream git repo on a local filesystem and add that as a remote. But when most people talk about a git server that includes collaboration and giving people SSH access just so that they can read from your repo is not reasonable.
- cassianoleal 3mo agoI'm nodding along.
- kgwxd 3mo agoAs a species, I think we're past the point of thinking headlines are for conveying accurate information. The primary purpose is algorithm manipulation and attention grabbing. Every decent content creator openly admits as much. Direct complaints to the Lords of Engagement. They won't listen, but no one else wants to hear it either.
- skydhash 3mo agoGit support http as a transport. Actual collaboration does not require write access on the repo. You need to share your patch to the repo owner via another mechanism (email is very suitable for that, but anything that can share text file is ok). The repo owner handle merging patches.
- cbm-vic-20 3mo agoNobody seems to have really embraced the truly distributed model of git, where you can expose a local repository via read-only HTTP, and collaborate by pulling from each others' repositories. No pushes. This would be unwieldy in a corporate environment and for those who don't really grok git, but for a small cadre of experienced developers, this may be a workable model.
- WhyNotHugo 3mo agoSourcehut _kind of_ pushes for this model. Folks publish their own repositories, and email patches to others. But you can also just email a patch to the author without a Sourcehut account, because email is descentralised. The Linux kernel and u-boot also follow similar flows. Honestly, it's incredibly convenient to send a patch via `git send-email -1`, instead of having to create a for, add a remote, push, and then navigate some web-based wizard.
- luxcem 3mo agoThat's how I learned git before GitHub, but it was a pain to configure DNS and port-forwarding when ISP didn't provide static IP.
- k33n 3mo agoRadicle doesn’t get enough credit. They’ve created a really excellent take on modern distributed git.
- jayd16 3mo agoWhy isn't it reasonable? Ssh works fine for the big repo providers. Are you just saying that managing account access at the personal machine level is a lot of work?
- pavel_lishin 3mo agoHuh, I've always set up bare repos as my "local" (on a desktop somewhere in my house) destination. I didn't realize you could just use regular repos.
- skydhash 3mo agoYou can but any edit to the working directory will render the repo ineffectual for pushing.
- AnthonyR 3mo agoI find it strange the websites some of these HN articles are hosted on... going through the effort to write a post before getting a domain outside of .vercel.app is interesting.
- ramon156 3mo agoCan you rewrite this by hand, please? I was so confused what this article was supposed to tell me. > No YAML file with 47 indents. What is this referencing? what yaml file? The front-end also screams AI generated
- xg15 3mo agoI think it's just a general jab at the unwieldiness of yaml (because the model was in the "talk about yaml files" and "be witty" parts of the latent space I imagine), not some particular file.
- kuschkufan 3mo agomaybe just ask your chat ai as usual?
- inigyou 3mo agoCheck the home page - it mentions 47 tabs. Tabs is obviously in a similar semantic space to indents, so the number 47 carried over. Or maybe this AI slopmachine just likes the number 47.
- mr_mitm 3mo ago> That is it. No Docker. No CI pipeline. No serverless function. No YAML file with 47 indents. Just SSH and git — two tools you already have. Sigh.
- patates 3mo agoThat is it. No patience. No care. No attention to detail. No scratchpad with multiple edits. Just Claude and a prompt — the only two things you can tolerate.
- cess11 3mo agoLooks like a bot doing self-promotion.
- coin 3mo ago> This is a nice way to work on server-side files without SSH lag or error-prone copying. Are people really copying files to the servers then committing there?
- luxcem 3mo agoWhen I started using Git around 2006, we didn't have GitHub. We used Google Code for SVN hosting, but we wanted to try Git because it was 'truely' decentralized, so we just pulled from other developers' computers directly. It involved setting up port forwarding on the router and letting your computer on 24/7. Fun times.
- _heimdall 3mo agoWe did something similar, but used a dedicated server we already had on the network instead of another dev's machine.
- Railse 3mo agoThis is an AI generated article
- fortuitous-frog 3mo agoThis seemed familiar? The first few lines/commands are a straight copy and paste of a post that reached front page 8 months back: https://maurycyz.com/misc/easy_git/ https://maurycyz.com/misc/easy_git/ (HN post [here](https://news.ycombinator.com/item?id=45710721 https://news.ycombinator.com/item?id=45710721)). The rest is just AI rewording. Even the quips about wiring this up to the blog's site generator are stolen. Even the _date format_ (which is different from the rest of the sites blogs) is stolen. However, this does not look affiliated at all with the real author's blog. Exploring this vercel site, looks like they rip dozens of creators blog posts day for SEO spam? And for what? Their homepage (and its non-functional demo) is just for a link preview feature? Something that many browsers already provide natively (and if not, you can just use the many existing browser extensions for this)? Is this a giant spyware/malware promotion? I'm very confused. OP (https://news.ycombinator.com/user?id=sheelagay https://news.ycombinator.com/user?id=sheelagay) seems to be affiliated with the page and seems to be only posting this for the last few months; their first post is promoting/showcasing the "product".
- xg15 3mo ago> git config receive.denyCurrentBranch updateInstead I didn't know that was possible to allow pushing the checked out branch - but for completeness, the alternative would be to make a bare repo where simply no branch is checked out.
- synergy20 3mo agoor use git-shell so users do not need a full ssh account on the server due to security concerns: which git-shell sudo echo "/usr/bin/git-shell" >> /etc/shells sudo useradd -m -s /usr/bin/git-shell git cat my_pub_key.pub >> /home/git/.ssh/authorized_keys git clone ssh://git@server/home/git/myrepo.git
- edwardleecase 3mo ago[dead]
- johnea 3mo agoI'm so glad to see a bunch of positive comments here! Git does not require M$, or any external company's online service. The EU has finally woken up to the "threat" of their over-dependence on US services, but the same risks are no less valid for companies located inside the US. I'm not talking about political sanctions, I'm talking about loss of your corporate jewels. In the world of training models on other peoples data, no company should be dismissing the risk, that having their code on another companies servers, exposes them to.