Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think many a junior just never initialized a repository, and 'git clone' is what they've used to "get a repository". So I would forgive them for thinking that a remote is needed for having a repository on their drive.


IMO the issue here is just that people think of git as it was something like SVN where you need to have some kind of external server to host project. Which isn't surprising as most of the time (when you cooperate with others) you do exactly that: push changes to one server. Idea of decentralization and independent copies of repositories may not be easy to grasp for newbe, because it's really technical concept.


How many people know that you can just run `git daemon`[1] to share your local repo (very insecurely, mind you) to anyone that can reach your machine? No central server needed.

https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protoco...


IMO the "issue" that the concept of a free remote storage/backup makes sense, while doing random things on your own computer doesn't have much value for a lot of people.

".. you don't have to keep the previous versions, so it saves space? OK... No, I was talking about the real git."




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: