Working directory is not a git repository (How can I make it so?)


In order to post-process the build, I have build steps that rely on git commands to get certain information about the revision. Unfortunately, the checkout/working directory does not appear to be a git repository (no .git folder, git commands don't work).

How can I make the checkout/working directory a functional git clone?

Thanks for any help!

1 comment
Comment actions Permalink

OK, progress report:

I've changed the checkout mode from automatically-on-server to automatically-on-agent. Watching the build now and . . .

It works!

Problem solved.


Please sign in to leave a comment.