Skip to content

Invalid file path causing clone failure on Windows (trailing space in directory name) #98

@Markandeshwaragoudapatil

Description

❌ Problem

While cloning the repository on Windows, the checkout process fails with the following error:

error: invalid path 'content/participant /InvisiblePro.md'
fatal: unable to checkout working tree

Although the repository is cloned, Git cannot properly check out files, resulting in an incomplete working directory.


🔍 Root Cause

The issue appears to be caused by a trailing space in the directory name:

content/participant /InvisiblePro.md
↑ extra space

Windows does not support file or directory names with trailing spaces, whereas Linux/macOS systems allow it.


⚠️ Impact

  • Users on Windows cannot properly clone and use the repository
  • New contributors may get confused or blocked while trying to contribute
  • Affects onboarding and PR contributions

✅ Suggested Fix

  • Rename the directory to remove the trailing space:
    content/participant/InvisiblePro.md

  • Ensure future file names follow cross-platform compatibility rules


💡 Additional Note

This issue may not appear on Linux/macOS systems but breaks functionality on Windows environments.


🙋‍♂️ Willing to Help

I can submit a PR to fix this issue if needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions