I tried to add a specific branch of a package repo using the #-syntax described in the documentation like
Pkg add "git@gitlab.restofpath.git#dev"
But get the response
...
remote:
remote: The namespace you were looking for could not be found.
remote:
...
ERROR: The command `git clone --quiet 'git@gitlab.restofpath.git#dev'
...
(The ellipses are just some more error text and I have changed the name of the actual repo with restofpath
)
If run the command git clone --quiet 'git@gitlab.restofpath.git#dev
directly in the terminal I get the same first part of the error message.
If I instead do
julia> Pkg.add(url = "git@gitlab.restofpath.git", rev = "dev")
everything works hunky-dory.
Any idea why the #-syntax is not working? (not sure if this is a Git or Julia question). I am sitting on a windows machine if that is important.