1
我試圖將本地Ghost站點推送到服務器上,但我的服務器上只有一個光盤迴購站。將Ghost站點部署到裸露的遠程git倉庫
在服務器上,鬼grunt init
無法成功完成,因爲沒有工作樹:
$ 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.
我懷疑,解決的辦法是做本地所有grunt
工作,避免gitignore
ING構建的結果。如果是這樣,任何人都可以提供一些有關如何從Ghost gitignore
中刪除的信息?
我推薦在推送後在服務器上運行grunt
。有沒有什麼辦法可以讓裸機回購?