Use emacsclient -t when committing in Git
bash, emacs, git, shell
Solution
the true reason for this is the version of emacs.there is a default emacs on mac, which version doesnot have the option "-t".Also ,it seems that git doesnot read the setting in .bash_profile
Problem
In my `.bash_profile`, I use this: ``` export EDITOR=emacsclient alias e='emacsclient -t' ``` When I commit changes with Git, it will open a new emacs window, but with `emacs --daemon`. How can I set my default Git editor to be emacs with the t flag enabled?