If I do _README
, then github doesn't display it on the Source tab.
Is there a another way to specify certain files to exclude besides beginning the file name with an underscore?
This would also be useful for the Rakefile, LICENSE, TODO, etc...
Thanks!
Matt
Add something like this to your _config.yml:
exclude: ['README.markdown', 'Gemfile.lock', 'Gemfile']
@dabit, thanks! That worked! I did:
exclude: ["CNAME", "Rakefile", "MIT-LICENSE", "README.md", "TODO.taskpaper"]
And if I want to exclude a file in a dir, say: bundles/screen.scss
? Or a subdir like bundles/source/
? How can I do that?
Most helpful comment
Add something like this to your _config.yml:
exclude: ['README.markdown', 'Gemfile.lock', 'Gemfile']