Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

SourceTree can't use the commit template

ericye
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 18, 2014

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

 

5 answers

2 votes
Stephan Badragan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 26, 2014

same problem here

0 votes
Dennis May 24, 2019

I used the repository settings in SourceTree but whatever I type in it is not working. I re-started source tree and I can still see the text but it never appears at commit ??

st.png

0 votes
Guillaume B.
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 16, 2016

I'm using sourcetree version 2.4 on MacOSX 10.11.6, still not working ...
That's really annoying

0 votes
John Richards
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 10, 2015

I agree this doesn't seem to work.

We are implementing a standard template here and those who use TortoiseGit see the template but it never seems to show up in SourceTree.

This is on Windows in 1.6.14.0 using System Git 1.9.5

Any chance of a fix?

0 votes
Raistlin Majere April 12, 2015

Apparently it was implemented here:

https://jira.atlassian.com/browse/SRCTREE-982

 

But it doesn't work in 1.6.x series, so...

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events