logoalt Hacker News

globular-toasttoday at 1:42 PM2 repliesview on HN

A "local remote" is a contradiction. Unless the remote is on a different disk you are just wasting space. Even then the point of remotes is for sharing, not for backup/redundancy.


Replies

orevtoday at 1:46 PM

What if you have a few local machines you’re using for development, and want to keep them in sync? This method allows that single central repo without having to bounce all the code through a cloud hosting service.

show 1 reply
Zambytetoday at 1:46 PM

The remote can be a shared directory that multiple users have access to, and the working directory is private where each user only has private read + write access.