swagger-api / swagger-api/swagger-codegen
Git cloning: Error: filename in tree entry contains backslash: 'SwaggerServer\lib\Models'
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Description
Cloning the Git repo has bad developer experience since it shows an error message
error: filename in tree entry contains backslash: 'SwaggerServer\lib\Models'
Swagger-codegen version
Swagger declaration file content or url
Command line used for generation
Steps to reproduce
git clone repourl
Related issues/PRs
Suggest a fix/enhancement
It would be good to clean the repo. This error raises concerns on the cloned content.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reported git clone repourl reproduction and inspect the repository tree for the entry named SwaggerServer\lib\Models. Confirm the backslash-containing path is present and determine the repository change needed to remove it. Done means a fresh clone no longer reports this filename error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git
- Domain
- developer-experience
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100