To install Git-Flow on Windows
- Download the "Binaries Zip" file (util-linux-ng-2.14.1-bin.zip) from http://gnuwin32.sourceforge.net/packages/util-linux-ng.htm
- Extract util-linux-ng-2.14.1-bin.zip\bin\getopt.exe to "C:\Program Files (x86)\Git\bin"
- Download the "Dependencies Zip" file (util-linux-ng-2.14.1-dep.zip) from http://gnuwin32.sourceforge.net/packages/util-linux-ng.htm
- Extract util-linux-ng-2.14.1-dep.zip\bin\libintl3.dll to "C:\Program Files (x86)\Git\bin"
- Run "git clone --recursive git://github.com/nvie/gitflow.git"
- cd into gitflow/contrib/
- Run msysgit-install.cmd "C:\Program Files (x86)\Git"
- Run "git flow" in a cmd window to make sure it worked
Git Configuration
After installing Git, set up the configuration:
C:\> git config --global user.name "Your Name" C:\> git config --global user.email "your_email@your-host.com" C:\> git config --global core.autocrlf input C:\> git config --global core.safecrlf true
If you don't want to type in your password every time you interact with the Git server, create a file called _netrc in your "home" folder (C:\Users\YourUserName) with the following contents:
machine your-git-server-url.com login YourGitLogin password YourGitPassword
Source Tree
Source Tree is an excellent free visual tool for working with Git on Windows (it's also available on OSX).
Comments
Post a Comment