如何解決bash is not recogonized
1:在https://git-scm.com/downloads下載自己合適的安裝包,打開安裝包一路點繼續(xù)
2.搜索環(huán)境變量


在第三部之后輸入git的安裝地址,C:\Program Files\Git\bin,默認都是這個,點擊OK
然后重啟cmd,就可以正常操作了
本文引用
1.【W(wǎng)indows10下.sh文件的運行】’bash’ is not recognized as an internal or external command_sh文件能在windows下運行嗎_BassieYuan的博客-CSDN博客. Available at: https://blog.csdn.net/weixin_45780839/article/details/125162219 (Accessed: 21 May 2023).
標簽: