我有一个在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