For my XPages application I have set a .gitignore file to exclude the directory where my javascript modules are installed via this definition:
ODP/WebContent
In that same WebContent folder I have a sub-directory WEB-INF with sub-directories that I want to include for SCM.
How can I do this?