Skip to content

Bug: Git repository directory name contains .git suffix #17386

@SilverGreen93

Description

@SilverGreen93

Description

If you clone a repository by the full URL (i.e. https://github.com/files-community/Files.git), the destination directory is named files.git instead of Files.

So there are really 2 issues here:

  1. The directory name should NOT contain the .git suffix
  2. The directory name should be capitalized exactly as it is in the URL: Files, not files

Steps To Reproduce

  1. Open command palette
  2. Select Clone Git repo
  3. Paste url https://github.com/files-community/Files.git
  4. Clone and observe the result as described above.

Files Version

3.9.13.0 - dev

Windows Version

10.0.26100.4770

User ID

2a411168-c5ac-4f2d-92f9-be000c77eac5

Log File

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    🔖 Ready to build

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions