gitbitbuckettortoisegit

How to fill default commit message in TortoiseGit?


I was unable to find, how to set default commit message in TortoiseGit:

enter image description here

seems the default git method doesn't work:

[commit]
    template = ~/message.txt

Solution

  • 1) The git default mechanism works in general, however, there seems to be a bug with ~/ - use an absolute path as a workaround, i.e.

    C:/Users/user/git_message.txt
    

    2) On the commit dialog the "Commit" button is a menu dropdown button. Choose Commit & Push there (cf. https://tortoisegit.org/docs/tortoisegit/tgit-dug-commit.html).