Working directory is not a git repository (How can I make it so?)
Hi,
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!
Please sign in to leave a comment.
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.