# Pkg trying to add private repository gives GitError(Code:ERROR, Class:Net, unrecognized URL prefix)

**URL:** <https://discourse.julialang.org/t/pkg-trying-to-add-private-repository-gives-giterror-code-error-class-net-unrecognized-url-prefix/58432>\
**Category:** General Usage\
**Tags:** pkg\
**Created:** [April 2, 2021, 9:32am UTC](https://discourse.julialang.org/t/pkg-trying-to-add-private-repository-gives-giterror-code-error-class-net-unrecognized-url-prefix/58432 "2021-04-02T09:32:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shane\_Kelly](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/shane_kelly/32/23496_2.png) [@Shane\_Kelly](https://discourse.julialang.org/u/Shane_Kelly)\
**Post date:** [April 2, 2021, 9:32am UTC](https://discourse.julialang.org/t/pkg-trying-to-add-private-repository-gives-giterror-code-error-class-net-unrecognized-url-prefix/58432/1 "2021-04-02T09:32:30Z")

</div>

I am trying to add a private gitlab repository and I am encountering the following issue:

```julia
(myEnv) pkg> add https://gitlab.com/me/private.git
    Cloning git-repo `https://gitlab.com/me/private.git`
ERROR: failed to clone from https://gitlab.com/me/private.git, error: GitError(Code:ERROR, Class:Net, unrecognized URL prefix)

```

when I do this my school’s cluster.

I am able to add this private package on my laptop, and

```julia
git clone https://gitlab.com/me/private.git

```

works fine on the cluster.

What does it mean "unrecognized URL prefix? I would like to add the remote repository, and not a local package, so I can use the same Manifest.toml file on my laptop and on the cluster. Any help is appreciated 🙂
