Set TeamCity server to use Git protocol 2

Answered

Hi,

 

Does anyone know how to force TeamCity server to use git protocol version 2? It seems that its using a java implementation of git called JGit that doesn't adhere to the .gitconfig file.

0
1 comment
Avatar
Fedor Rumyantsev

Hello Benjamin,

Yes, server-side checkout is using jGit implementation of Git protocol (patched 5.4 jGit to be exact, which supports Git v2), and agent-side uses external Git command-line client. What is the configuration you use? (i.e. server-side or agent-side)? Could you please confirm on what was the difference between .gitconfig settings and actual behaviour of TeamCity Git? Is this .gitconfig in question a repository one, user-level or global?

0

Please sign in to leave a comment.