wiki:SourceCodeGit/Windows

Version 4 (modified by Richard Haselgrove, 11 years ago) (diff)

Removing hard-coded link to deprecated versions

This guide is intended to get you up and running in TortoiseGit for Windows. It will take you through installation, and key creation.

Note: this guide was created on a 32-bit Windows XP SP2 machine. Some steps may differ slightly on other operating systems. In particular, most Vista and Windows 7 machines are 64-bit rather than 32-bit, so you will need the 64-bit version of TortoiseGit (linked in the instructions below).

Installation

Git for Windows

Git is the software that talks to the remote repository, tracks your local changes, and so forth.

Start by downloading Git for Windows 1.7.11 and TortoiseGit (current versions)

You should have the following files when you're done:

Run Git-1.7.11-preview20120710.exe to start Git installation.

The default settings should be OK.

Git Installation is complete! Let's move on to TortoiseGit.

TortoiseGit?

Run TortoiseGit-1.7.11.3-32bit.msi (or TortoiseGit-1.7.11.3-64bit.msi if you're on a 64-bit system) to begin TortoiseGit installation

Once again, the default options should be OK.

TortoiseGit installation is complete! Let's move on to creating your public/private key pair.

Public/Private Key Creation

Browse to the folder where you installed TortoiseGit. By default, this will be C:\Program Files\TortoiseGit\

Open the bin folder inside the TortoiseGit? folder and located puttygen.exe

No image "puttygen-location.png" attached to SourceCodeGit/Windows

Run puttygen.exe

No image "puttygen-1.png" attached to SourceCodeGit/Windows

Click the 'Generate' button. You'll be asked to move your mouse around for a bit while a progress bar fills up. This helps make your key more random (which makes it harder for someone else to impersonate you).

No image "puttygen-2.png" attached to SourceCodeGit/Windows

When the progress bar finishes, your key will appear. Enter a password (twice) before continuing.

No image "puttygen-3.png" attached to SourceCodeGit/Windows

First click 'Save Public Key' and save your key somewhere. I've saved mine as 'public.ppk' in my Application Data/ssh folder, but you can put this anywhere. Just keep it somewhere safe where you can find it later.

No image "puttygen-4.png" attached to SourceCodeGit/Windows

Next click 'Save Private Key' and save your key somewhere. I recommend putting it in the same place as your public key. I've named mine 'private.ppk'. Remember: your private key never leaves your computer! Only your public key gets shared with anyone.

No image "puttygen-5.png" attached to SourceCodeGit/Windows

Now that you've saved your public/private key pair, copy the 'Public key for pasting into OpenSSH authorized_keys file. Don't worry about what that means; we're going to be emailing this to David/Rom? instead.

No image "puttygen-6.png" attached to SourceCodeGit/Windows

Conclusion

Congratulations You've successfully:

  • Installed Git and TortoiseGit
  • Set up your Public/Private key pair

Attachments (16)

Download all attachments as: .zip