jonas / tig

Text-mode interface for git
https://jonas.github.io/tig/
GNU General Public License v2.0
12.49k stars 611 forks source link

"fatal: could not read <wrong home path>/.stCommitMsg" when attempting to commit from tig #1272

Closed bsrz closed 1 year ago

bsrz commented 1 year ago

Issue

Unable to commit from tig.

fatal: could not read '/Users/ben/.stCommitMsg': No such file or directory
Press Enter to continue

Because ben isn't my username. Is there a way to configure this? If not, maybe this is bug?

koutcher commented 1 year ago

This message is from Git, not from Tig. Check your Git configuration, especially commit.template.

bsrz commented 1 year ago

gah, you're absolutely right 🤦‍♂️ Not sure how long that config has been there, or which other app added it. And why has no other app complained about it...

In any case, problem fixed. Thanks for the help!