I have a bare repo on my server that I'm attempting to push a local Ghost site to.
On the server, the Ghost grunt init
is unable to successfully complete because there is no working tree:
$ grunt init
Running "update_submodules:default" (update_submodules) task
Warning: fatal: /usr/lib/git-core/git-submodule cannot be used without a working tree. Use --force to continue.
I suspect that a way around this would be to do all grunt
work locally, and avoid gitignore
ing the results of the build. If so, can anyone offer some insight on what to remove from the Ghost gitignore
?
My preference would be to run grunt
on the server after pushing. Is there any way to make that possible for a bare repo?