Skip to content

--clone flag doesn't work with private hosted repo #1029

@affanshahid

Description

@affanshahid

Version

2.9.3

Reproduction link

https://github.com/vuejs/vue-cli/tree/master

Steps to reproduce

Please forgive the invalid repro link, not sure what to put for a cli issue

My template repo is within a subgroup, I'm running the following:

vue init --clone my-project gitlab:my-own-gitlab.com:group-a/subgroup-a/template-repo

What is expected?

Template should be initialized from:
my-own-gitlab.com/group-a/subgroup-a/template-repo

What is actually happening?

vue-cli · Failed to download repo ... 'git clone' failed with status 128

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions