| Summary: | Failure to add files to repository if a .gitignore file is present | ||
|---|---|---|---|
| Product: | [Tools] PTP | Reporter: | John Eblen <jdeblen1> |
| Component: | RDT.sync | Assignee: | John Eblen <jdeblen1> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 5.0.2 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
This was a simple fix. Adding the -f flag to the "git add" command causes it to ignore the .gitignore file. Fixed in HEAD and PTP_5_0. |
If a .gitignore file is in the user's directory (and it lists a real, non-filtered file), we receive the following error on project creation: The following paths are ignored by one of your .gitignore files: {the file name} Use -f if you really want to add them. fatal: no files added Since no files are added, no files are downloaded to the local workspace.