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

Default gitignore is too restrictive #4560

Closed
mgsx-dev opened this issue Jan 24, 2017 · 1 comment
Closed

Default gitignore is too restrictive #4560

mgsx-dev opened this issue Jan 24, 2017 · 1 comment

Comments

@mgsx-dev
Copy link
Contributor

gitignore file generated by gdx setup have undesirable side effects : any folder you want to track with git (including java package) which is named "war", "build", "out" or "bin" will be ignored. Note that I discovered this issue creating a "war" game with a "war" package name somewhere, so other developers may face the same problem.

IMO best practice is to avoid recursive path in gitignore as much as possible (all path without a leading slash are processed recursively).

My proposal would be to keep some global recursive ignore in the root file (*.class, *.project ...) and dispatch specific parts to related sub-project : For instance, "war/" would be replaced by "/war" and moved to web sub-project.

What do you think ?

@Tom-Ski
Copy link
Member

Tom-Ski commented Jan 24, 2017 via email

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

No branches or pull requests

2 participants