Skip to content

Documentation: Error when cloning on Windows #59

@Guiguerreiro39

Description

@Guiguerreiro39

Describe the bug
When trying to clone this repo on windows, I've came across an error

error: invalid path '.github/pull_request_template.md.'
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/

To Reproduce

  1. Be on a Windows machine
  2. Fork the repo
  3. git clone %repo%

Expected behavior
The repository should be cloned

Solution
Obviously the issue lies on the .github/pull_request_template.md. file so if that file is removed, it should work fine. Otherwise, another possible alternative would be:

  1. git init ToDo-iOS && cd ToDo-iOS
  2. git config core.protectNTFS false
  3. git remote add %repository_url%
  4. git fetch
  5. git checkout origin/master

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions