Using git commit ID as string in Visual Studio C project?

21 views Asked by At

We have a Visual Studio 17 project written in ISO C, which is hosted in a git repro. How can we get the current git commit ID, or branch name, as string in the C code itself?

0

There are 0 answers