如何排除网址错误,以“端口号以'y'结尾”? [英] How to troubleshoot an url error with "Port number ended with 'y'"?

查看:1567
本文介绍了如何排除网址错误,以“端口号以'y'结尾”?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试将已存在的gitlab仓库复制到我的本地驱动器中。我使用了格式

While trying to clone an already existing repository from gitlab into my local drive. I used the format

$ git clone https://github.com/libgit2/libgit2  mylibgit 

产生的文件夹例如 mylibgit 在XAMPP网页文件夹之外htdocs),我把它移动到那里,但它不像假定的那样工作。

The resulting folder e.g mylibgit was found somewhere outside the XAMPP web folder (i.e htdocs), I moved it there but it's not working as supposed.

我把它移到我的桌面上,并得到错误信息:

I moved it out to my desktop and got the error :

fatal: unable to access 'https://git@gitlab.com:xxxxx/yyyyyy/':Port number ended with 'y'


推荐答案

@VonC我后来发现这个问题,我没有在开头输入cd / path / to / your / repo。我实际上是在输入gitlab而不是github。谢谢。

@VonC I later found the problem, I was not typing "cd /path/to/your/repo" at the beginning. I was actually typing "gitlab" instead of "github". Thanks.

这篇关于如何排除网址错误,以“端口号以'y'结尾”?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆