Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools

Helen Anderson
Helen Anderson
6,519 Points

git flow

I'm using a windows machine to follow the Git Basics course. I'm stuck on the Git-Flow section.(Workflows badge). The instruction is to install Git-flow following the instructions in github. I'm using a windows machine.

Steps completed so far:

  1. go to Git Flow in Git hub https://github.com/nvie/gitflow - > OK

  2. go to installation instructions for windows https://github.com/nvie/gitflow/wiki/Windows -> OK

  3. install cygwin from here http://www.cygwin.com/install.html. Installed all packages -> OK

4 open cygwin -> OK

  1. go back to https://github.com/nvie/gitflow/wiki/Windows and follow the steps. The next step is run

    $ wget -q -O - --no-check-certificate https://github.com/nvie/gitflow/raw/develop/contrib/gitflow-installer.sh | bash

    from the cygwin shell

  2. message -> wget not found

  3. google to find how to install wget -> find this http://www.kadamwhite.com/archives/2012/wget-in-git-bash

  4. download wget ok. run wget.exe

9, in cygwin run -> errors received

$ wget -q -O - --no-check-certificate https://github.com/nvie/gitflow/raw/develop/contrib/gitflow-installer.sh | bash
C:\cygwin\bin\wget.exe: unknown option -- no-check-certificate
bash: line 1: Usage:: command not found
bash: line 2: $'\r': command not found
bash: line 3: unexpected EOF while looking for matching ``'
bash: line 4: syntax error: unexpected end of file

I think the issue is that wget is not being found by cygwin. Have moved wget into the same directory as cygwin, but no change.

There's probably a simpler way to do this.

Can someone please help?


3 Answers

Try using the default Windows installer from http://git-scm.com instead of Cygwin. Cygwin is a nightmare. I'd probably install a VM running Linux before trying to use those tools.

James Barnett
James Barnett
39,199 Points

> Cygwin is a nightmare.

Yep pretty much

> I'd probably install a VM running Linux before trying to use those tools.

scoop.sh looks pretty useful for getting *nix tools on Windows

Hmm, looks a little like Homebrew, I hope that project gets supported and the software stays updated.

Dietmar Krause
Dietmar Krause
6,229 Points

i have pretty much the same problem. Installed default Windows installer for Git for windows. No Cygwin, no msysgit (which is the environment, i think) until now. Does anyone know how to install git flow beginning with this starting point?. And second: how do i update Git for windows (supposing one has installed via the default installer http://git-scm.com/). Simply over -install?

Dietmar Krause
Dietmar Krause
6,229 Points

have you tried the following?

  1. Install git via http://git-scm.com, wich is the git only version from msysgit without compiler stuff
  2. install msysgit , wich ist the environment / compiler etc.
  3. follow the instructions on https://github.com/nvie/gitflow/wiki/Windows under the msysgit section. Would like to hear, if this works