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 trialKristina Gillooly
9,546 PointsIm working in git bash and tried to install git flow and have no idea how to do it....
every time i watch the git flow video i am so lost.....dont understand how to install it
9 Answers
Todd MacIntyre
12,248 PointsKristina, my version of git bash included gitflow with it - no additional downloads necessary. I am using git version 2.7.1.windows.1
If you have an older version of git bash, I might suggest downloading this newer version and giving it a try.
Kristina Gillooly
9,546 PointsWindows 8
Ken Alger
Treehouse TeacherKristina;
What OS are you using?
Ken
Kristina Gillooly
9,546 PointsAnyone else have any advice on using git flow in git bash on windows?
Ken Alger
Treehouse TeacherKristina;
Sorry I dropped this thread. Where are you getting lost/what are you trying that isn't working?
Ken
Barış Yazıcı
1,659 PointsIn git bash when I write apt-get it responds as command not found. So I think Windows users got to install a suitable package manager.
Ken Alger
Treehouse TeacherI would take a look here at gitflow instructions for Windows.
Chocolatey is a reasonable approximation to apt-get
on Windows.
Ken
juras
7,778 PointsSo I tried to follow instructions here at first:
https://github.com/nvie/gitflow/wiki/Windows
using Git for Windows (previously MSysGit) section and i was doing fine until I hit this part,
C:\gitflow> contrib\msysgit-install.cmd
by the way you are supposed to run this in cmd . Anyways so I failed, read this thread and decided to try this whole Chocolatey extravaganza thing...
Anyways I managed to install choco, but it failed to deliver gitflow so I was forced to come back to instructions for Windows on github.com
Turns out my problem was that when I used Git BASH I have created gitflow folder in my home directory which was C:\Users\Juras and when switched to cmd to run this line
C:\gitflow> contrib\msysgit-install.cmd
that folder wasn't there, go figure.
I should have used
C:\Users\Juras\gitflow> contrib\msysgit-install.cmd
or rather even
C:\Users\Juras\gitflow> contrib\msysgit-install.cmd "C:\Program Files\Git"
since it couldn't find git installation on its own.
So I guess the moral is: don't just blindly copy instructions. The same concerns next one too:
instead of copying this to Git BASH:
$ ln -s /C/gitflow/git-flow git-flow
I had to use
$ ln -s /C/Users/Juras/gitflow/git-flow git-flow
ps. and you don't need chocolatey for this
Weigang Dai
9,689 PointsI already install the git flow on my mac, when I install again, it show me "git-flow-0.4.1 already installed, it is just not linked". so how can i link it?
and if I just run the "git flow init" as the video show: I get: /usr/local/bin/git-flow: line81: /usr/local/bin/gitflow-shFlags: No such file or directory What are all those meaning?