
On 09.05.18 08:10, Brian May via luv-main wrote:
Russell Coker via luv-main <luv-main@luv.asn.au> writes:
It seems that I have to create the master repository with "git init --bare" and then push from the slave after adding a file. Adding a file on the master is also apparently a bad idea.
Both of these apply equally to subversion. You have to create the repository on the master first before you can even conduct the first checkout. You can't interect directly with the master repository, you have to checkout a version somewhere first.
Heck, that even applies to venerable CVS. The repository remains inviolate, and you check out a copy into a working tree, then check back in, either to the head or a branch.
I am not 100% sure what you mean by "Adding a file on the master is also apparently a bad idea." however the master repository is a "bare respository" not a working tree, so you can't see your files here or add to them unless you create a checkout first.
Yup, and surely remote check-in/out from the repository is standard for them all? Erik