我对Git很新,并开始使用GitHub for Windows.现在我已经学会了如何打开一个Git bash ....并想要将Git Flow安装到其中.
我正在尝试按照这里的步骤: - https://github.com/nvie/gitflow/wiki/Windows
在安装过程中,当我尝试使用PortableGit文件夹的路径运行msysgit-install脚本时,脚本无法说:
contrib/msysgit-install.cmd: line 1: @echo: command not found contrib/msysgit-install.cmd: line 2: setlocal: command not found
等等...
有什么我做错了,还是我的bash没有正确设置?
我通过右键单击GitHub for Windows中的项目并选择"在这里打开shell"来访问bash.
请帮忙.
该msysgit-install.cmd
脚本是一个Windows批处理文件,不要从bash运行它从Windows命令提示符运行它(或从文件浏览器双击它,但我不确定这是否适用于.cmd
文件...)
另外,请尝试使用Cygwin.它简单得多.