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.
util-linux-ng-<version>-bin\bin\getopt.exe file into C:\Program Files\Git\binutil-linux-ng-<version>-dep\bin\libintl3.dll and util-linux-ng-<version>-dep\bin\libiconv2.dll files into C:\Program Files\Git\bingit clone git://github.com/nvie/gitflow.gitcd gitflowgit submodulegit submodule initgit submodule updateWindows console and go to contrib directory from gitflow directory where you cloned the repository: cd C:\... ...\gitflow\contrib\msysgit-install.cmd "C:\Program Files (x86)\Git"If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With