简体   繁体   English

如何使用hg-git在Windows中克隆github存储库

[英]How to clone a github repo in Windows using hg-git

I am attempting to clone a github repo for the first time in windows. 我正在尝试在Windows中首次克隆github存储库。

I am following the instructions at https://hg-git.github.io/ . 我正在按照https://hg-git.github.io/上的说明进行操作。 First I did 首先我做了

pip install hg-git

This worked fine. 这很好。

I then tried 然后我尝试了

hg clone git://github.com/nicodv/kmodes.git 

following the instructions for hg-git but that failed with 按照hg-git的说明进行操作,但失败了

abort: repository git://github.com/nicodv/kmodes.git not found!

I also tried the same with https. 我也尝试过与https相同。

What is the correct way to do this? 正确的方法是什么?

Note that there are issues around cloning with the current version of hg-git, like issue 292 or issue 307 . 请注意,使用当前版本的hg-git进行克隆存在问题,例如问题292问题307

Check if you have the latest version of dulwich (0.11.2-1 at the moment) 检查是否具有最新版本的 dulwich(目前为0.11.2-1)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM