jgm / gitit

A wiki using HAppS, pandoc, and git
GNU General Public License v2.0
2.16k stars 226 forks source link

Ignore files #533

Open boomshadow opened 8 years ago

boomshadow commented 8 years ago

First off, I'm a big fan! I LOVE Gitit! I'm working on writing up public documentation so more people can get into this :)

My issue is that I want to ignore particularly files. For example: .gitignore I created the gitignore file to filter out Mac .DS_Store files created by some of the engineers who clone the repo down. However, this file now shows in the "All Pages" section.

Same goes for .keep files. Some of the devs at the job started creating the basic directory layout, and wanted the dirs tracked in Git, even though they don't have pages yet. All those .keep files show in the structure.

Is there an option in Giti to ignore files when presenting in the web interface?

jgm commented 8 years ago

+++ boomshadow [Jan 06 16 15:21 ]:

First off, I'm a big fan! I LOVE Gitit! I'm working on writing up public documentation so more people can get into this :)

My issue is that I want to ignore particularly files. For example: .gitignore I created the gitignore file to filter out Mac .DS_Store files created by some of the engineers who clone the repo down. However, this file now shows in the "All Pages" section.

Same goes for .keep files. Some of the devs at the job started creating the basic directory layout, and wanted the dirs tracked in Git, even though they don't have pages yet. All those .keep files show in the structure.

Is there an option in Giti to ignore files when presenting in the web interface?

No. Ignoring all files beginning with . by default would probably make sense.