I need to use the following Git Log command:
where I want to display the tag in the Version field. Can you tell me how to get it? I tried adding the --decorate option, but it doesn't change anything.Code:git log --pretty=format:"Author: %an Date: %as%nVersion: %h%nHistory: %s%n" > header.txt