gpt4 book ai didi

php - 无法在 Ubuntu 中使用 bitbucket 设置 SmartGit

转载 作者:行者123 更新时间:2023-12-04 19:02:37 25 4
gpt4 key购买 nike

我安装了SmartGit并且我能够登录到我的 BitBucket 帐户,在尝试克隆存储库时我一直看到这个错误

Could not connect to the reposotory https://username@bitbucket.org/username/xyz

PLease check the reposotory URL

reposotory https://username@bitbucket.org/username/xyz not found: remote:Not Found

为什么我看到这个错误?当登录有效并且 Smartgit 显示我拥有的存储库列表并且当我选择出现此错误时,我似乎无法克服此错误。

如果我在浏览器中复制存储库 URL,它会将我带到存储库,我什至尝试复制 bitbucket 提供的 URL,以防有人想要克隆它,即使在 smartgit 中也不起作用。

在我使用 Windows 的办公室计算机上,我能够使用具有相同登录详细信息的相同 URL 立即启动并运行它

在这一点上,我非常沮丧和无能为力。任何帮助将不胜感激。我究竟做错了什么?

最佳答案

终于让它工作了。

我没有意识到我设置的存储库是 Mercurial 而不是 Git,虽然在 Windows SmartGit 中检测它似乎没有问题,但在 Ubuntu 中,在 Mercurial 存储库可以工作之前需要执行其他步骤。

确保您在 Ubuntu 中设置了 Tortoisehg,否则 Mercurial 将无法工作,您可以访问 this关于如何安装它的文章。

完成后,确保在 Smartgit 中设置可执行路径。

要访问可执行设置,请转到菜单 Edit->Preferences
enter image description here

似乎曾经 Mercurial 可执行只有在克隆时才正确设置 Mercurial选项会出现,否则你会发疯地想Mercurial在哪里克隆存储库的选项。

enter image description here

这就是我让它工作的方式。

关于php - 无法在 Ubuntu 中使用 bitbucket 设置 SmartGit,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32742422/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com