| Summary: | Update gitignore to only target some subdirectories and files | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Paul Webster <pwebster> |
| Component: | Server | Assignee: | Anthony Hunter <ahunter.eclipse> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | ahunter.eclipse |
| Version: | 6.0 | Flags: | pwebster:
review?
|
| Target Milestone: | 9.0 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Paul Webster
Gerrit review for orion.server: https://git.eclipse.org/r/29422 PW Review for orion.client: https://git.eclipse.org/r/29423 PW (In reply to Paul Webster from comment #0) > Sometimes having more general entries like "target" can filter out > subdirectories that are desired. [snip] > > PW I am not sure what target folder you actually do want in git. Is there one? I think the problem here is that we have a .gitignore at the root of the git repo that is perhaps conflicting with the .gitignore files in some of the Eclipse projects (same level as the .project files) (?) . (In reply to Anthony Hunter from comment #3) > > I am not sure what target folder you actually do want in git. Is there one? The .gitignore in the root of the repo looks like: /.project bin target workspace Just specifying "target" will filter any target directory, including if you use one as a java package. The target directories are to maven what bin directories are to eclipse, they show up if you use maven to build. My proposal makes them more specific: /*/*/target Same thing for the bin directory. PW I am satisfied with the .gitignore settings now. |