I have saved my comment template in $HOME/.gitmessage.txt and in the terminal, run "git config --global commit.template $HOME/.gitmessage.txt" and "git config commit.template $HOME/.gitmessage.txt". Now when I commit in command line or the source terminal, the comment template can take effect.
But when I click "Commit" in SourceTree GUI, the comment window is blank.
My operations is same to the answer of git config commit.template apparently not working, but still can't work.
I am using SourceTree 1.6.4