Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

Plain clone throws error even when repo doesn't exist #755

@anant2614

Description

@anant2614

I'm using plain clone to clone a repo.While it doesn't even exist in the directory,it throws an error saying the repo already exists.This is the code:
r,err := git.PlainClone("", false, &git.CloneOptions{ URL: "https://github.com/anant2614/spring-samples", RecurseSubmodules: git.DefaultSubmoduleRecursionDepth, })

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions