Skip to content

fillefrans/git-setup-windows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##Git setup - Windows

####Basic setup

  1. Download and install Git for your platform

default settings

  • Use default settings

use from cmd

  • Run Git from Command Prompt is preferred

use plink

  • PuTTY's plink integrates better with Windows

newline format

  • The default setting is fine
  1. Download and install PuTTY, if necessary

  2. Run PuTTYgen to create or import your SSH key

click Generate

  • click Generate
  • click Save private key, and store your key somewhere safe.

copy public key to clipboard

  • select the public key in the text area, and copy to the clipboard
  1. [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)

  1. 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")

  2. 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
  1. 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages