通过使用GIT命令将TFS-GIT存储库克隆到GIT存储库(Linux) [英] Clone TFS-GIT repository to GIT repository (Linux) by using GIT commands

查看:183
本文介绍了通过使用GIT命令将TFS-GIT存储库克隆到GIT存储库(Linux)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


  • 我们有Redhat Linux服务器,GIT已经安装在这台服务器上,我们需要创建一个本地存储库。 TFS 2015中,我们需要使用GIT命令将TFS-GIT存储库克隆到Linux上的GIT存储库。

    对于此任务,我们在Linux上创建了一个空的本地存储库,并且在Windows Server 2012上连接TFS-GIT存储库时出现
    致命错误:认证错误。我们尝试了不同的方式,但仍然得到相同的错误。

    可以任何一个请告知这个。

    谢谢



    请注意,如果您这样做,则还应启用SSL,以便您可以使用HTTPS,因为基本身份验证以明文形式发送凭证,包括密码DS 即可。使用HTTPS将确保凭证被加密。


    1. We have Redhat Linux server, GIT was already installed on this server and we need to create a local repository.
    2. We have TFS-GIT project in TFS 2015, we need to clone the TFS-GIT repository to the GIT repository on Linux by using GIT commands.

    For this task, we created a empty local repository on Linux, and getting "Fatal: authentication error to connecting TFS-GIT repository on windows server 2012 . We tried in different ways but still we are getting same error.

    can any one please advise on this.

    Thanks

    解决方案

    As present time, you need to configure Basic Authentication on your TFS Application Tier server in order to authenticate from Linux (or OSX).

    Note that if you do this, you should also enable SSL so you can use HTTPS, because Basic Authentication sends credentials in cleartext, including passwords. Using HTTPS will ensure that the credentials are encrypted.

    这篇关于通过使用GIT命令将TFS-GIT存储库克隆到GIT存储库(Linux)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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