] dev with private Github repository

Hello,

I did

] dev https://femtotrader@github.com/femtotrader/MyPrivateRepository.jl

but it raises

ERROR: ArgumentError: invalid base 10 digit 'g' in "github"

is there a method to make a private repository a package available for development (ie without using git command in shell but directly with Julia)

Kind regards

] dev https://github.com/femtotrader/MyPrivateRepository.jl

I think this should work.

1 Like

You can use quotation marks to make the parser less inclined to dissect your URL,

pkg> dev "https://femtotrader@github.com/femtotrader/MyPrivateRepository.jl"

or the functional form to be precise in your request.

using Pkg
Pkg.develop(url = "https://femtotrader@github.com/femtotrader/MyPrivateRepository.jl")
3 Likes

Thanks @GunnarFarneback