##Git setup - Windows
####Basic setup
- Download and install Git for your platform
- Use default settings
- Run Git from Command Prompt is preferred
- PuTTY's plink integrates better with Windows
- The default setting is fine
-
Download and install PuTTY, if necessary
-
Run PuTTYgen to create or import your SSH key
- click Generate
- click Save private key, and store your key somewhere safe.
- select the public key in the text area, and copy to the clipboard
- [Add the SSH key to your GitHub account]
Optional Download and install TortoiseGIT (Optional)
- This is the easiest way to configure SSH
Alternatively: Atlassian Sourcetree
####Git-flow setup (Windows)
-
download libiconv2.dll, libintl3.dll and getopt.exe from the util-linux-ng package, and place them all in the Git bin folder (typically "C:\Program Files (x86)\Git\bin")
-
Open a Command Prompt as Administrator (right-click > Run as Administrator), and clone the git-flow repo.
- You can clone it into any directory, but keep in mind that this is the permanent home of the script files you need to use git-flow. It is not a temporary directory.
git clone --recursive https://github.com/nvie/gitflow.git
- Install git-flow extension
cd gitflow
contrib\msysgit-install.cmd "C:\Program Files (x86)\Git"
Change "C:\Program Files (x86)\Git" to the folder where you installed Git
####Start a git-flow repo:
Open a Command Prompt, and navigate to the root of your repo
Initialize as git-flow repository:
cd easyad
git flow init
Hit <Enter> at each prompt to accept defaults
Done!
####Links