Local Git remotes
cblgh.org
Local Git remotes
1–10 of 85 posts
Re: Local Git remotes
#2Re: Local Git remotes
#3GitHub has been such a staple of the modern dev that some are now (re)discovering git is distributed.
Re: Local Git remotes
#4GitHub has been such a staple of the modern dev that some are now (re)discovering git is distributed.
Everything old is new again. I wouldn't be surprised if there were people that thought GitHub invented git.
Re: Local Git remotes
#5Re: Local Git remotes
#6Re: Local Git remotes
#7Also handy if you're running an agent in a container on the local fs. Set up a local clone, contain the agent to that repo folder and have it hack away on that. Later, you step out of the container and do the syncing. You can't use worktrees in this situations.
Bare repos are also pretty cool. You can clone the git mailing list as a bare repo and search for threads there instead of setting up an mbox (same for the kernel obviously)
Re: Local Git remotes
#8A "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.
Re: Local Git remotes
#9A "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.
Re: Local Git remotes
#10you can also setup a local remote which hardlinks the index so it doesn't occupy more space. Why? Idk. You don't want to share stash, rerere-cache, branches whatever. Also handy if you're running an agent in a container on the local fs. Set up a local clone, contain the agent to that repo folder and have it hack away on that. Later, you step out of the container and do the syncing. You can't use worktrees in this sit…