Home > Blockchain >  How to format "git describe" output in simple file with .bat script?
How to format "git describe" output in simple file with .bat script?

Time:06-07

I want to get output in simple txt file inside git repo folder:

About:
date = (2022_06_04)
version = (1d34a1b1)

And I stuck with formatting data in ( ) brackets.

Here is my attempt:

@echo off
set dt=           
  • Related