bash:emacs:找不到命令(在 windows 10 上)

bash: emacs: command not found (on windows 10)

我是 git 的新手,当我将此命令放在 git bash(windows 10 上)时遇到问题:

$ emacs config

。我有下一个结果: bash: emacs: command not found

我该如何解决这个问题?

尝试添加emacs可执行文件所在的文件夹,
%PATH% 系统环境变量
您可以找到的分步程序,例如这里:
https://www.architectryan.com/2018/03/17/add-to-the-path-on-windows-10/