It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center 。
8年前关闭。
在我的 Windows 机器上安装 Cygwin 后,Git Bash 损坏了。每次我尝试执行命令时都会发生以下错误:
即使重新安装 Git (Bash) 也无济于事......
这可能有助于确保 msysgit 不受其他可能在路径中的 Cygwin 命令的影响。
8年前关闭。
在我的 Windows 机器上安装 Cygwin 后,Git Bash 损坏了。每次我尝试执行命令时都会发生以下错误:
即使重新安装 Git (Bash) 也无济于事......
最佳答案
也许您需要 运行 cygwin 安装程序并查找“ncurses”包并安装它 。
(如 this thread 中所建议,并考虑 tput
is part of the ncurses library )
another.anon.coward 在评论中建议使用 Cygwin 站点的 package-grep 功能,这确认需要安装 ncurses:
package-grep for tput 。
但是,OP Philipp15b 在评论中提到:
尝试使用 msysgit 提供的 git-cmd.bat
启动您的 msysgit DOS session 。
它组织 PATH
:
@set PATH=%git_install_root%\bin;%git_install_root%\mingw\bin;%git_install_root%\cmd;%PATH%
这可能有助于确保 msysgit 不受其他可能在路径中的 Cygwin 命令的影响。
关于windows - 安装 cygwin 后 Git Bash 损坏,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/9427856/