When I run commit from a standard command prompt it is opening the configured editor defined by the core.editor
configuration value and uses the template defined by commit.template
.
However when I run commit from the bash command prompt it is ignoring these settings and opening the VI
editor without the template. Why is this?
I am not so worried about the editor but I need to define the commit template.