4 ms·
There is a technical difference between an local repo and a remote repo (bare repository) - although I think you can clone from a repo and make this "authoritat
by bipson 6y ago
There is a technical difference between an local repo and a remote repo (bare repository) - although I think you can clone from a repo and make this "authoritative", what you usually do is (in your client, not the server)
- add a new remote
- push your tree to this new remote
- remove the old remote (optional)
And that's it.
You're further not supposed to make commits on a remote directly. Usually this fails hard, for a reason.