在 TFS 2015 构建代理文件夹中找不到 git 文件夹
Can't find git folder in TFS 2015 build agent folder
我正在尝试在 TFS 2015 构建代理上配置 git 设置,以便我可以添加新证书,如
中所述
当我转到 "agent" 文件夹时,没有 "externals" 文件夹。我已尝试搜索,但未在 TFS 代理下找到 "git" 文件夹或任何 git 可执行文件。
Git 未安装在构建代理计算机上,但它在我 运行 构建时尝试克隆存储库 - 因此 git 必须在某处。
如何找到 git 安装位置,以便我可以更改它的配置?
我可以只在标准位置安装 git 并进行全局更改吗?而且,如果是这样,TFS 构建代理会选择它吗?
如“Commit to Git: Source Control in Visual Studio 2015”中所述:
The Visual Studio 2015 IDE relies on the LibGit2 API and the LibGit2Sharp communication layer to implement all of the Git features it exposes in its front-end tooling.
- LibGit2 is a zero-dependency, cross-platform, open source Git core engine written entirely in C.
- LibGit2Sharp is a library written in C# that runs as a managed process under the Microsoft .NET Framework.
It serves as a .NET-friendly interface between Visual Studio and LibGit2 and it dramatically simplifies the programming effort required by the Visual Studio development team to establish a communication pipeline to and from the LibGit2 library.
因此不需要单独的 Git 安装。
我正在尝试在 TFS 2015 构建代理上配置 git 设置,以便我可以添加新证书,如
当我转到 "agent" 文件夹时,没有 "externals" 文件夹。我已尝试搜索,但未在 TFS 代理下找到 "git" 文件夹或任何 git 可执行文件。
Git 未安装在构建代理计算机上,但它在我 运行 构建时尝试克隆存储库 - 因此 git 必须在某处。
如何找到 git 安装位置,以便我可以更改它的配置?
我可以只在标准位置安装 git 并进行全局更改吗?而且,如果是这样,TFS 构建代理会选择它吗?
如“Commit to Git: Source Control in Visual Studio 2015”中所述:
The Visual Studio 2015 IDE relies on the LibGit2 API and the LibGit2Sharp communication layer to implement all of the Git features it exposes in its front-end tooling.
- LibGit2 is a zero-dependency, cross-platform, open source Git core engine written entirely in C.
- LibGit2Sharp is a library written in C# that runs as a managed process under the Microsoft .NET Framework.
It serves as a .NET-friendly interface between Visual Studio and LibGit2 and it dramatically simplifies the programming effort required by the Visual Studio development team to establish a communication pipeline to and from the LibGit2 library.
因此不需要单独的 Git 安装。