Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allows css|html|img|js subdirectories to be gitignore excluded #149

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jaranF
Copy link

@jaranF jaranF commented Jul 28, 2023

I think that original author who changed the .gitignore files (see PR #106 ) expected the .gitignore within the 'custom' directory to override that of the project's root and so un-gitignore the css, html, img and js sub-directories. However, this would never have been possible because if you .gitignore an entire directory, then you cannot use ! to un-gitignore it futher down. This PR fixes that. See https://git-scm.com/docs/gitignore.

PS I'm raising this PR from my personal Github account but I have also made this .gitignore change in the britishlibrary fork of your ExLibris/primo-explore-devenv as I work there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant