I have set Git's "core.editor" config to "emacsclient" and have an Emacs session running with a server started. When I run "git commit" from a terminal, it opens a new buffer in my Emacs as expected, but this buffer is always in "fundamental mode". It used to open in whatever mode that magit uses to edit commit messages but this is a new computer and I am just not sure how all the pieces work together. It's not even clear to me what mode magit is using since it's a collection of minor modes not a major mode. So I'm a bit stumped how to fix this.
Any help appreciated!
git-commit mode
to write commit messages. You can check if that is installed – TheGeorgeous