News for hackers. Stuff that matters.
Re:Ask HN: Alternatives to GitHub by mejutoco on Monday August 17, 2026 @01:51PM (#49334941)
> 4. Do you just want to host repositories?

an ssh connection and

    git --bare init
on your ssh accessible server works just fine
Re:Ask HN: Alternatives to GitHub by janalsncm on Monday August 17, 2026 @04:06PM (#49336814)
“Just” is a four letter word and a trap our industry repeatedly falls into.

https://sgringwe.com/2019/10/10/Please-just-stop-saying-just

Re:Ask HN: Alternatives to GitHub by hamburglar on Monday August 17, 2026 @04:57PM (#49337533)
If all you want to do is host repositories, “just” is the appropriate word here. For lone wolf work, all I care about is having a remote that mirrors all the changes and branches I create locally. It’s just redundancy. A git bare repo and SSH are all that’s needed.

I don’t do pull requests to myself, and I don’t need a bug tracker or CI.

Re:Ask HN: Alternatives to GitHub by nine_k on Monday August 17, 2026 @06:00PM (#49338276)
But sometimes it's applied properly! https://github.com/casey/just
Re:Ask HN: Alternatives to GitHub by zombot on Tuesday August 18, 2026 @08:16AM (#49344591)
Is that a just cause?
Re:Ask HN: Alternatives to GitHub by chrysoprace on Monday August 17, 2026 @07:10PM (#49338955)
I hadn't read this article until now, but I started catching myself using the word at work a few years ago and I've actively been trying to avoid using it for the reasons laid out in this post.
Re:Ask HN: Alternatives to GitHub by gosub100 on Tuesday August 18, 2026 @09:08AM (#49345092)
I didn't check if this was mentioned in the article but I've heard it described as a "lullaby word". I think that is very apt, and I have stopped using it whenever I can.
Re:Ask HN: Alternatives to GitHub by sincerely on Monday August 17, 2026 @08:50PM (#49339750)
edit: totally wrong
Re:Ask HN: Alternatives to GitHub by ysavir on Monday August 17, 2026 @08:56PM (#49339800)
I think they mean the "just" in "Do you just want to host repositories?", implying that it's never "just" hosting repositories, and the needs will continue to grow beyond what the simple solution offers.
Re:Ask HN: Alternatives to GitHub by fooqux on Monday August 17, 2026 @09:30PM (#49340025)
> the needs will continue to grow beyond what the simple solution offers.

If they do, then migrate to a provider that offers what you need at that time. It's not like adding a new remote is hard.

Re:Ask HN: Alternatives to GitHub by sincerely on Monday August 17, 2026 @09:16PM (#49339925)
I must be illiterate. Ofc. Sorry
Re:Ask HN: Alternatives to GitHub by doctorpangloss on Tuesday August 18, 2026 @12:04AM (#49341115)
i used to feel the same way, but with coding agents, the Justers are surely having the last laugh
Re:Ask HN: Alternatives to GitHub by edgyquant on Monday August 17, 2026 @03:26PM (#49336317)
It is much more complex than this to get basic GitHub functionality anyone who has tried can tell you that. It feels like it should be a simple command but it absolutely isn’t
Re:Ask HN: Alternatives to GitHub by mejutoco on Tuesday August 18, 2026 @01:41AM (#49341695)
> 4. Do you just want to host repositories?
Re:Ask HN: Alternatives to GitHub by edgyquant on Tuesday August 18, 2026 @10:27AM (#49346118)
Yes it is not so straight forward to be able to push/pull from a repository over ssh especially with multiple users etc there are a bunch of additional configs required for this
Re:Ask HN: Alternatives to GitHub by stephenway on Tuesday August 18, 2026 @12:27PM (#49348146)
once you add multiple users, bare git stops feeling "just" pretty fast. do you need reviews/CI too, or only shared access?
Re:Ask HN: Alternatives to GitHub by rhdunn on Monday August 17, 2026 @01:57PM (#49335039)
That's what gitolite does with some helper scripts for creating/setting up the repositories, adding metadata to the configs, etc. That way your `git` user can be set to reject ssh login attempts. The projects are managed by pushing a config to a gitolite admin repository.
Re:Ask HN: Alternatives to GitHub by samlinnfer on Monday August 17, 2026 @02:21PM (#49335380)
Cool thing about gitolite is that you manage it using text files and committing to the gitolite admin git repository.

We were using it until we grew tired of not having a web view to comment and review patches so we switched to gitea.

Re:Ask HN: Alternatives to GitHub by jonahx on Monday August 17, 2026 @02:11PM (#49335236)
Quick intro for this method: https://www.youtube.com/watch?v=iuIdBfjL62s
Re:Ask HN: Alternatives to GitHub by myaccountonhn on Monday August 17, 2026 @02:18PM (#49335328)
It can be as brief as:

ssh server git --bare init myrepo.git

git clone server:myrepo.git

Re:Ask HN: Alternatives to GitHub by eddieroger on Monday August 17, 2026 @02:22PM (#49335397)
You can even support Actions with this method if you're not afraid of a little scripting. https://git-scm.com/book/ms/v2/Customizing-Git-Git-Hooks
Re:Ask HN: Alternatives to GitHub by sunshine-o on Monday August 17, 2026 @06:29PM (#49338556)
Beautiful !
Re:Ask HN: Alternatives to GitHub by jolmg on Monday August 17, 2026 @07:02PM (#49338885)
> git clone server:myrepo.git

or if your local repo existed first:

  git remote add server server:myrepo.git
  git push -u server @
Re:Ask HN: Alternatives to GitHub by bsoles on Tuesday August 18, 2026 @06:48PM (#49353905)
At least in small scale, having your own git server is trivially easy. Why are organizations so eager to put a third-party layer on top of that?