I need a bare repository that I publish to using VS2015. However, my publishing fails because there is already a "config" file created with the --bare
command. This file is web.config I assume.
I confirmed this by trying to just paste the files from the publish directory into the bare repository. Still won't work.
If I try to use git init --bare
inside the directory (if the published files are present), it fails saying there is an error with config file.
How is this handled?