我有一個在Github上託管的開源項目。我想在github repo中包含示例/示例,但也包含一個類似.herokuignore
的文件,以確保這些示例不會部署到Heroku。可能?有沒有.herokuignore這樣的事情?
Heroku dev center page表示它使用.gitignore
文件,這很好,但我仍然需要這些文件在git中。
而且,看到這個已經在SO,但它不是完全一樣的事情:App on Github and heroku: Ignore file on one but not the other