You already have a Git server

gopeek-lovat.vercel.app

37 points by sheelagay 9 hours ago


fortuitous-frog - 3 hours ago

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".

luxcem - 4 hours ago

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.

account42 - 5 hours ago

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 - 5 hours ago

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.

xg15 - 3 hours 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 - 3 hours ago

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
BadBadJellyBean - 4 hours ago

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.

AnthonyR - 4 hours ago

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.

coin - 4 hours 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?

ramon156 - 4 hours ago

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

cess11 - 4 hours ago

Looks like a bot doing self-promotion.

mr_mitm - 4 hours 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.

Railse - 4 hours ago

This is an AI generated article