Skip to content

cloning from a folder or file:// URL should be a better experience #2995

Open

Description

@shiftkey

Description

Not sure how we feel about supporting the ability to clone from a local folder (Git supports this fine), or encouraging people to add the repository directly to the app. But we also do little in the way of input validation here, so perhaps we need to rethink this flow a bit.

Version

GitHub Desktop version: 1.0.4-beta0

OS version: macOS 10.12.6

Steps to Reproduce

  1. Launch application, select File | Clone Repository...
  2. Select URL tab, but specify a folder to an existing Git repository
  3. (you should be warned that the directory exists, this is because we don't parse the folder to anything recognizable)
  4. Update the local path to a valid location, click Clone

Expected behavior: should we encourage people to add the folder to the repository?

Actual behavior: user now has two repositories on disk

Reproduces how often: 100% on macOS, unclear if behaviour is the same on Windows

Activity

  1. tierninho commented on Oct 10, 2017

    @tierninho
    Contributor

    Confirming the same on Windows 10.

    screen shot 2017-10-10 at 8 49 25 am

  2. added
    not-planned
    on Jul 8, 2024
  3. added a commit that references this issue on Oct 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementnot-planned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions