You already have a Git server
sheelagay
37 points
31 comments
June 23, 2026
Related Discussions
Found 5 related stories in 114.3ms across 11,417 title embeddings via pgvector HNSW
- Local Git remotes surprisetalk · 81 pts · May 29, 2026 · 59% similar
- Show HN: Gitdot – a better GitHub. Open-source, written in Rust baepaul · 206 pts · June 08, 2026 · 50% similar
- Before GitHub mlex · 361 pts · April 28, 2026 · 49% similar
- Ziggit: A Reimplementation of Git in Zig jedisct1 · 13 pts · April 02, 2026 · 49% similar
- GitHub Copilot App theanonymousone · 104 pts · June 02, 2026 · 49% similar
Discussion Highlights (14 comments)
account42
You 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.
pavel_lishin
Huh, 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.
AnthonyR
I 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
Can 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
mr_mitm
> 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.
cess11
Looks like a bot doing self-promotion.
coin
> 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
When 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.
BadBadJellyBean
This 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.
Railse
This is an AI generated article
fortuitous-frog
This 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/ (HN post [here]( 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 ) 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
> 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
or 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
johnea
I'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.