I’m ready to make the first commit on my local branch but there´s a problem using the template and even writing the message manually using nano and vi editor. First of all, I used “git add .” to staged all files, then to use the template automatically I ran “git config --local commit.template templates/commit-msg-challenges.txt” and finally “git commit” wich opened the editor window with the template text but when I saved it there’s an error message “aborting commit due to text has not edited”.
I tried to save the commit message using nano editor and I choosed “format MAC” but this save the whole text including the text with the pound sign “#” and other characters.
I don’t really understand why this is happening
Looking for similar problems on Fluid Attacks Community and I found this post Commit-msg: expected others - #13 by previous-bell but even changing git editor it doesn´t seems to work for me.
Using vi editor
Using nano editor , in this case wich option I should take after Crtl + O
How to save the commit message correctly because the editor recognize it but it doesn’t let me save it.