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

wilsonmizhquiri
wilsonmizhquiri
19,864 Points

IS there a video for using git bash on windows to download git flow??

I just want to fully understand it, but have trouble from this video since it uses other steps that are not for windows.

2 Answers

Douglas Counts
Douglas Counts
10,126 Points

Bash is the shell environment on Macs, Linux, and Unix. Windows uses the console or PowerShell to do the same thing. Both are different as both have different file and permission systems. Windows is a nightmare to develop on even if you are using one of Microsoft's own .NET languages, which you won't find information on at Treehouse, at least for now.

But what I have done to keep my Windows system clean is to run Virtual Machines for Ubuntu and yes, even Windows on Windows. A Virtual machine is a single file that you can back up by just making a single file copy. So easy backup, and when you run a Virtual Machine, if you mess it up, you didn't toast your Windows Box. Just delete that singe Virtual Machine file and run your copy. So I have Unix, Linux, and Windows all running in VirtualBoxes. Not usually at the same time, but I can I if I wish to. It also makes it easy to test what my website will look like because I can run the site in the VirtualBox and then run my browser in Windows by putting in the local URL for my VirtualMachine. Easy peezey....

Virtual Machines sound complicated but they are actually very easy to set up if you just follow two simple steps. Use VirtualBox for you hosting software and a Bitnami-made Ubuntu image. Just install VirtualBox for FREE at https://www.virtualbox.org/wiki/Downloads and then navigate to Bitnami for a free Virtual image that you can load into that VirtualBox at https://bitnami.com/stack/mean/virtual-machine

Now, if you go to Bitnami, you may mistakenly think "hey I can just install a package made for Windows" instead and forget that whole VirtualBox thing. DON'T. The Apache server will steal some of your ports and if you use any database software like MySQL now, it may try to use that same port. You may also end up having multiple servers or databases all running at the same time and using up process space in your task manager. All that is avoided with you run a Virtual Image inside VirtualBox. It gives you a computer within your computer that you can even run full screen if you like. Many of the images, just give you the server shell though as that is what normally runs on servers because they don't have a monitor nor a keyboard. As a bonus, when you shut down a VirtualBox, your Windows System isn't effected and you don't have to deal with side effects by installing software on your computer.

But, you can opt for a full blown Ubuntu image too with it's windowing environment and all running right on your windows box. Windows is still there too and you can easily switch into and out of the VirtualBox at will while your VirtualBox is still running. You can even pause it or put it to sleep while you continue to use Windows for other things.

Running a Virtual Environment is the only way to go on either Windows or a Mac if you don't want to mess your own system up. Macs make this easy which is why you even see a lot of Windows developers developing on a Mac now a days.... But you can do the same thing on Windows.

Hope that helps.

jason chan
jason chan
31,009 Points

git bash is the same commands of all linux boxes.

change director is cd .. not cd.. that's windows.