使用windows开发环境,首选的终端就是Git Bash.

但是它一直有一个Bug. 没有正确捕捉CTRL+C的信号并杀死进程.

闲来无事一翻它的更新日志,终于把这个BUG修复了。

再也不用打开任务管理器手动杀死进程了.

git-for-windows/msys2-runtime#16

Git for Windows 2.16.0(2)

New Features

  • Comes with Git Credential Manager v1.14.0.
  • The Git for Windows installer now offers to configure Visual Studio Code as default editor for Git.Comes with OpenSSL v1.0.2n.
  • git checkout is now a lot faster when checking out a lot of files.
  • The core.excludesfile can now reference a symbolic link.
  • Comes with patch level 7 of the MSYS2 runtime (Git for Windows flavor) based on Cygwin 2.9.0.
  • With lots of files, git reset --hard is now a lot faster when the FSCache feature is in effect.

Bug Fixes

  • When cloning into an existing (empty) directory fails, Git no longer removes said directory.
  • Interrupting processes (and their children) using Control+C is now a lot more robust.