2009-05-21 89 views
3

任何人都有任何經驗,但獲得Radiant CMS擴展實際上使其成爲一個heroku實例?我嘗試刪除子模塊並添加文件,但並沒有真正運氣。Heroku上的輻射擴展?

回答

5

Heroku目前不支持git子模塊。 然而,他們(優秀)的文件表示解決的辦法:check it out here

從文檔:

$ cd myapp 
$ rm -rf `find . -mindepth 2 -name .git` 
$ git add . 
$ git commit -m "brought submodules into the main repo" 
1

Git的子模塊目前不支持。我們正在評估是否將來支持他們;同時您需要跟蹤主項目中的任何子模塊。你可以這樣做是這樣的:

$ cd myapp 
$ rm -rf `find . -mindepth 2 -name .git` 
$ git rm --cache `git submodule | cut -f2 -d' '` 
$ git rm .gitmodules 
$ git add . 
$ git config -l | grep '^submodule' | cut -d'=' -f1 | xargs -n1 git config --unset-all 
$ git commit -m "brought submodules into the main repo" 

運行此命令,如果你不知道你的項目是否使用子模塊:

$ find . -mindepth 2 -name .git 

如果打印任何輸出,你有子模塊。