I need to automate the 'git-tfs pull' command in azure devops. I have no problem executing this command with my user/pass from cmd window, but when it runs in Azure DevOps Build Agent it doesn't finish, sure it is an authentication problem.
Git-commands have the possibility to pass additional http-headers with the request. This is used by Azure DevOps build agent to pass OAuth token in an AUTHORIZATION: bearer
-header when fetching the files.
Is it possible that git-tfs pull can pass the extra headers with the request?