I'm fairly new to Git, and started by using GitHub for Windows. Now I've learned how to open a Git bash....and want to install Git Flow into it.
I'm trying to follow the steps here:- https://github.com/nvie/gitflow/wiki/Windows
During the installation, when I try to run the msysgit-install script using my path for the PortableGit folder, the script fails saying:-
contrib/msysgit-install.cmd: line 1: @echo: command not found
contrib/msysgit-install.cmd: line 2: setlocal: command not found
etc...
Is there something I'm doing wrong, or is my bash not properly setup?
I'm accessing the bash by right clicking on the project in GitHub for Windows, and selecting 'open a shell here'.
Please help.
The
msysgit-install.cmd
script is a windows batch file, don't run it from bash run it from windows command prompt (or double click it from the file browser, but I am not sure if that will work for a.cmd
file...)Also, try using Cygwin instead. It is much simpler.