Modifying git checkout arguments

Answered

Hi,

Is there a way to modify the git checkout options within Teamcity's VCS checkout? When Teamcity checkouts a git repo it passes certain arguments to the git exe, is there a way to customize this command or override the arguments passed? 

I am using using Teamcity 10.0.5 (build 42677), and checking out a GIT LFS repo on my windows agent (widows10). The checkout fails on LFS objects and I am investigating if this issue. 

Any ideas?

Thanks, 

-Ankit 

0
2 comments
Avatar
Julia Alexandrova

Hi Ankit, I hope this section on Git LFS support in our documentation will be helpful.

0

At the moment there is no way to customize git arguments TeamCity use, but you can write a .bat script wrapping git and specify it as git executable to use (https://confluence.jetbrains.com/display/TCD10/Git#Git-Gitexecutableontheagent). Also logs inside .git/lfs might be helpful for investigation.

0

Please sign in to leave a comment.