Skip to content

[BasicCard-HTML-React-QuickView]: Cannot clone repository on Windows because of invalid filename with colon #239

Description

@Saurabh7019

Sample

BasicCard-HTML-React-QuickView

Authors

@a1mery, tagging since I see you recently worked on this file, but feel free to redirect if needed. This appears to be an accidental commit of a Windows Zone.Identifier file

Expected or Desired Behavior

The repository should clone successfully on Windows machines.

Observed Behavior

Cloning fails with error: invalid path 'samples/BasicCard-HTML-React-QuickView/.gitignore:Zone.Identifier'
fatal: unable to checkout working tree

Image

Steps to Reproduce

Steps to reproduce the behavior:

  1. Open command prompt/PowerShell on Windows
  2. Run: gh repo clone pnp/sp-dev-fx-aces
  3. Clone downloads but checkout fails

Environment Details (Development & Target environment)

  • OS: [Windows 11]
  • Additional details: This is a git clone issue that occurs before any code execution. The file .gitignore:Zone.Identifier contains a colon (:) which is not allowed in Windows filenames.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions