ipwnponies / dotfiles

Settings and configuration for unix environment
1 stars 3 forks source link

gitignore in repo root is ignoring all subdirectories' customized gitignores #1

Closed ipwnponies closed 7 years ago

ipwnponies commented 7 years ago

The * in .gitignore is recursive and causing sub-directories' gitignore rules to be ignored.

The workaround is for each sub-directory to reverse the ignore rule with !*. The fix is probably to change to /*, where the leading slash will mean the wildcard only applies to current dir.