The first time you do this it will install default profile files for you.
(On Windows Vista, Windows 7 or later, you need to right-click and run it as administrator this time because we'll be setting up links in a privileged directory).
Everything should "just work".įor example, in a Git Bash window: git clone -branch 6.x-1.xĬygwin offers an enormous number of packages, but you can do most Drupal activities with just a few beyond the basic install. You'll end up with a start menu entry called "Git Bash", which is a command-line Bash shell which has a current version of Git and will work fine for any activity in the Git instructions.
To set up msysgit, simply download and install it, accepting the defaults at each point in the wizard. Using the shell will make it easier for you to follow handbook instructions, understand what is happening 'under-the-hood' and work under different operating systems. (If you're using Tortoise Git you already have MSysGit.) Both will work fine for basic Git operations. However, the MSysGit toolkit also comes with all the tools you need for basic Git usage and is an excellent, though more limited environment.
Cygwin is a fine environment that provides a rich set of tools. There are at least two key ways to get a good command-line environment in Windows, and you should choose one of them.
Once the installation completed, you may need to start a new terminal window activating git flow support in git.In a Windows environment, a shell environment lets you do things you might not otherwise be able to do, and lets you follow instructions just as if you were in a Mac or Linux environment. To install git flow on Windows (cygwin) use the following command: wget -q -O -no-check-certificate install stable | bash Depending on your setup, you can also use the Windows Subsystem for Linux (Windows 10 and up) to use git with git flow. On Windows, you may need cygwin to use git flow. On Ubuntu/Debian, install it with apt: apt-get install git-flow On Linux, use your available package manager to install git flow. ? Hint: the AVH edition is what I install on my machine Linux MacOS users can install git flow using the Homebrew package manager: brew install git-flowĪs an alternative, you may install the AVH edition of the git flow providing functionality not available in the original git flow: brew install git-flow-avh Depending on your operating system, you can install it using a package manager.