0

I am trying to add an alias to my .gitmessage.txt template file that will automatically add all modified files in the current repo to the commit message.

I create this file in my project folder. and i am using GitLens extension for commit & push

and i write ${relativeFile} in my .gitmessage.txt file for fetch automatically add all modified files and make it default git commit message file with git config commit.template .gitmessage.txt

when I commit message it commits the message ${relativeFile} (as it is)

but I want modified files path in place of {relativeFiles}

I don't know what I will do, please help me to figure it out.

Jenil
  • 31
  • 3

0 Answers0