logoalt Hacker News

IgorPartolatoday at 6:10 PM5 repliesview on HN

What exactly is the advantage of running something like GitLab vs what I do which is just a server with SSH and a file system? To create a new repo I do:

  ssh example.com ‘mkdir repos/my-proj.git && cd repos/my-proj.git && git init —bare .’
Then I just set my remote origin URL to example.com:repos/my-proj.git

The filesystem on example.com is backed up daily. Since I do not need to send myself pull requests for personal projects and track my own TODOs and issues via TODO.md, what exactly am I missing? I have been using GitHub for open source projects and work for years but for projects where I am the only author, why would I need a UI besides git and my code editor of choice?


Replies

RamblingCTOtoday at 6:43 PM

What exactly is the advantage of running something like a restaurant vs what I do at home which is just cook it myself?

-> convenience, collaboration, mobility

gorgoilertoday at 8:28 PM

You don’t! Forges are for collaboration outside of the rhythm of git commits. You’re happy to make a new commit every time you have something to add to an issue. With X issues and Y comments a hour, polluting the git timeline with commentary is going to become unhelpful.

Some forges even include(d) instant messaging!

https://secure.phabricator.com/Z1336

oooyaytoday at 6:31 PM

Collaboration and specifically collaboration with non git nerds. That's primarily what made GitHub win the VCS wars back in the day. The pull request model appealed to anyone who didn't want to learn crafting and emailing patches.

show 1 reply
Etherytetoday at 7:13 PM

This is kind of like asking what the point of Dropbox is when we have rsync. Rsync is nice, but most people won't know how to use it.

delusionaltoday at 6:34 PM

> why would I need a UI besides git and my code editor of choice?

If you ever find yourself wishing for a web UI as well, there's cgit[1]. It's what kernel.org uses[2].

[1]: https://git.zx2c4.com/cgit/ [2]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin...