如何让git bash`哪个`命令与windows一起工作?


0

如果我which node在Windows中输入git bash,那么我会获得节点的路径,但是当我输入时which open,它表示找不到它。

该open方案是在PATH,但没有标记为可执行文件,因为chmod +x在Windows中不能正常工作。

我尝试git update-index --chmod=+x在文件上运行,但这不能解决问题which。

有任何想法吗?


你考虑过通过cygwin运行git吗?
— Ziggy Crueltyfree Zeitgeister 2016年

我对cygwin没有很好的经验,但它可能会奏效。现在我知道bash正在进入Windows 10,我想我们只需要等待它。
— Rivenfall 2016年
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.