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

.gitignore located at subdirectories should be respected #83

Open
floydwch opened this issue Sep 19, 2020 · 2 comments
Open

.gitignore located at subdirectories should be respected #83

floydwch opened this issue Sep 19, 2020 · 2 comments

Comments

@floydwch
Copy link

In a micro-service oriented project, it would have different .gitignore files in different subdirectories.

The current implementation of advanced new file collects the .gitignore file from project dir to the system's root, and it doesn't consider the .gitignore files located at subdirectories.

@patbenatar
Copy link
Owner

patbenatar commented Sep 20, 2020

@floydwch good idea! Perhaps a workaround for the time being: if you open each git repo as its own root in a multi-root workspace (instead of opening the parent dir), all the gitignores should be honored.

@floydwch
Copy link
Author

@patbenatar yeah, it's how I'm dealing with it in the meanwhile.

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

No branches or pull requests

3 participants