1 | | This guide... |
| 1 | This guide is intended to get you up and running in !TortoiseGit for Windows. It will take you through installation, and key creation. |
| 2 | |
| 3 | '''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). |
| 4 | |
| 5 | = Installation = |
| 6 | |
| 7 | == Git for Windows == |
| 8 | |
| 9 | Git is the software that does the heavy lifting. It talks to the remote repository, tracks your local changes, and so forth. It's the first piece of the puzzle. |
| 10 | |
| 11 | Start by downloading [http://code.google.com/p/msysgit/downloads/detail?name=Git-1.7.11-preview20120710.exe&can=2&q=full+installer+official+git Git for Windows 1.7.11] and !TortoiseGit 1.7.11.3 ([http://code.google.com/p/tortoisegit/downloads/detail?name=TortoiseGit-1.7.11.3-32bit.msi&can=2&q= 32-Bit] or [http://code.google.com/p/tortoisegit/downloads/detail?name=TortoiseGit-1.7.11.3-64bit.msi&can=2&q= 64-Bit]) |
| 12 | |
| 13 | You should have the following files when you're done: |
| 14 | |
| 15 | [[Image(file-list.png)]] |
| 16 | |
| 17 | Run '''Git-1.7.11-preview20120710.exe''' to start Git installation. |
| 18 | |
| 19 | [[Image(git-1.png)]] |
| 20 | |
| 21 | The default settings should be OK. |
| 22 | |
| 23 | [[Image(git-2.png)]] |
| 24 | |
| 25 | [[Image(git-3.png)]] |
| 26 | |
| 27 | [[Image(git-4.png)]] |
| 28 | |
| 29 | [[Image(git-5.png)]] |
| 30 | |
| 31 | Git Installation is complete! Let's move on to !TortoiseGit. |
| 32 | |
| 33 | == TortoiseGit == |
| 34 | |
| 35 | 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 |
| 36 | |
| 37 | [[Image(tortoisegit-1.png)]] |
| 38 | |
| 39 | Once again, the default options should be OK. |
| 40 | |
| 41 | [[Image(tortoisegit-2.png)]] |
| 42 | |
| 43 | [[Image(tortoisegit-3.png)]] |
| 44 | |
| 45 | !TortoiseGit installation is complete! Let's move on to creating your public/private key pair. |
| 46 | |
| 47 | = !Public/Private Key Creation = |
| 48 | |
| 49 | Browse to the folder where you installed '''!TortoiseGit'''. By default, this will be '''C:\Program Files\!TortoiseGit\''' |
| 50 | |
| 51 | Open the '''bin''' folder inside the TortoiseGit folder and located '''puttygen.exe''' |
| 52 | |
| 53 | [[Image(puttygen-location.png)]] |
| 54 | |
| 55 | Run '''puttygen.exe''' |
| 56 | |
| 57 | [[Image(puttygen-1.png)]] |
| 58 | |
| 59 | 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). |
| 60 | |
| 61 | [[Image(puttygen-2.png)]] |
| 62 | |
| 63 | When the progress bar finishes, your key will appear. Enter a password (twice) before continuing. |
| 64 | |
| 65 | [[Image(puttygen-3.png)]] |
| 66 | |
| 67 | 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. |
| 68 | |
| 69 | [[Image(puttygen-4.png)]] |
| 70 | |
| 71 | 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. |
| 72 | |
| 73 | [[Image(puttygen-5.png)]] |
| 74 | |
| 75 | 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. |
| 76 | |
| 77 | [[Image(puttygen-6.png)]] |
| 78 | |
| 79 | = Conclusion = |
| 80 | |
| 81 | '''Congratulations''' You've successfully: |
| 82 | |
| 83 | * Installed Git and !TortoiseGit |
| 84 | * Set up your !Public/Private key pair |