English 中文(简体)
错误的 Git URL 转换( 使用 SSH)
原标题:Wrong Git URL converting (using SSH)

我们使用 Git 的存储器服务器。 在另一个服务器上, 我们有一个 CI- Software (Atlassian Banboo) 正在运行, 它将通过 Git 将代码从我们的存储器服务器上拉出。 我们存储器服务器的 URL 结构提供如下 :

[email protected]:myproject.git

CI- Server (Bambo) 试图将其转换为另一个 Git URL 结构,

[email protected]/myproject.git

现在链接不起作用了。

如何解决这个问题?

最佳回答

您可以尝试一个完全指定的 ssh 远程, 像这样 :

ssh://[email protected]:22/myproject.git

如果您在 git 仓库服务器上使用 git 系统, 这将有效 。 我还没有使用其他 git 主机解决方案尝试过它 。 如果 < code> my project. git 只是 < code> my project 用户主目录中的文件夹, 您可以使用 :

[email protected]:/home/myproject/myproject.git
问题回答

暂无回答




相关问题
git confusion - cloning a repo is returning a past version

Im having some confusion with my git usage. I cloned a repo from one comp to the other, and the new clone is the state of the original that was active some time ago. So its cloning a past version. ...

Appropriate strategy for tagging and hotfixing with git

I was wondering if the strategy I m using for tagging and hotfixing tags (which then I use for deploying rails applications) with git is appropriate. For tagging I just tag a commit of the master ...

Tips on upgrading CVS to git/hg?

We still use CVS, I use git and hg for my personal use though I m still a novice at both, but I realize they re much more modern and better, faster, distributed, etc. It s just everyone is so ...

Using Git in a TFS shop

Using Git at home has spoiled me - I now find using TFS at work to be a bit of a drag and want to explore the possibility of using Git locally and syncing somehow with TFS. I figure there are a few ...

热门标签