4 ms·
I don’t understand. A proper git repo is… your git repo. Git is distributed. I have lots of projects under for version control with no remotes.
by adastra22 5mo ago
I don’t understand. A proper git repo is… your git repo. Git is distributed.
I have lots of projects under for version control with no remotes.
- leephillips 5mo agoYeah, I don’t get it either. The command is `git init` and you’re done.
- mystifyingpoi 5mo agoI can imagine it being useful for some obscure setup of local CI (like Jenkins) that expects a Git URL and for whatever reason cannot just copy files from one directory to another. Or maybe Argo/Flux tinkering to mimic real repo. But nothing usual should require such tricks.
- adastra22 5mo agoThere is no such thing as a git url. It is just a URI parser for the endpoint, which could be local filesystem, NFS, SSH, etc. Being able to HTTP fetch is/was an afterthought.
- m463 5mo agoI don't know, I just have one or more clones of this "local repo" and have no trouble blowing the clones away and starting over. backup? peace of mind?