Hacker News

sheelagay
You already have a Git server gopeek-lovat.vercel.app

account4243 minutes 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.

cbm-vic-208 minutes ago

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

skydhash8 minutes ago

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

kgwxd11 minutes ago

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

cassianoleal41 minutes ago

I'm nodding along.

coin7 minutes 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?

pavel_lishin39 minutes 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.

skydhash7 minutes ago

You can but any edit to the working directory will render the repo ineffectual for pushing.

AnthonyR34 minutes 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.

charles_f12 minutes ago

> the effort to write a post

This post was pretty obviously written by llm. You can assume the llm also picked the hosting platform.

mr_mitm33 minutes 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.

cess1110 minutes ago

Looks like a bot doing self-promotion.

ramon15634 minutes 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

kuschkufan14 minutes ago

maybe just ask your chat ai as usual?

hn-front (c) 2024 voximity
source