3 ms·
If you do this make sure you set the permissions such that it is not possible to make changes to the files on the server independently of the remote otherwise n
by olliesaunders 14y ago
If you do this make sure you set the permissions such that it is not possible to make changes to the files on the server independently of the remote otherwise next time you push you’ll end up with conflicts and, if you’re using an interpreted language, the version control markup that indicates where the conflicts are in files will break your code and bring down your website.
- VBprogrammer 14y agoBest way to do this is to init the remote repository using: git init --bare
- uxp 14y agoBare repositories cannot have a working tree. fatal: core.bare and core.worktree do not make sense