This document describes one method to install git under windows.
Supposing we start with nothing, there are three applications to be downloaded.
There is only one thing to do; start the installer and accept all the propositions that are made... Keep the path to this application in mind msysgit, you will be asked about that path, when configuring TortoiseGit. This application works in the background.
In this case no installation, the downloaded application is the one that needs to be executed to generate a pair of keys.
This is the place to start generating your local repositories. Here is what I did to test the described procedure.
GitSyracuse
folder on the desktop with a subfolder named key
.puttygen
executable into the key
folder.After having started the installation procedure, a certain number of windows will open, in particular:
Once this procedure is finished, you can see some changes in the context menu (right click). Three additional items appear: Git Clone..., Git Create repository here... and TortoiseGit (within a sub-menu).
Now choose TortoiseGit > Settings, you will be asked to locate the application msysgit. This is the moment to enter the path to the \bin executable. You fill in the same path for the DLL. Clicking on Check you can verify that all is correct, the recognized version of msysgit will be shown.
Configuration of TortoiseGit
Coming back to that subject again, you can set up a more sophisticated configuration...
All is ready now on your machine to run git. You can clone repositories of which you find the address in the net and which don't need any authentification. You can also use git as a versioning system for your local projects; it is always helpful to be able to go back to old versions of documents or programms one has written...
The interaction with the git folders of Syracuse1 use an SSH channel, you need to dispose a pair of keys for the transactions.
Go into the key folder and there click on the PuTTYgen icon. A dialog window opens, click on Generate, follow the instructions and you are ready, a pair of keys is disposed.
Generation of a pair of keys with PuTTYgen
Before you close the window:
pseudo@lieu.pub
; this is the one that you communicate with on the projects of Syracuse, for example.Save the public key by clicking the button Save public key, this one can always serve. Il faut noter qu'il y a une petite différence dans le format avec le contenu évoqué à l'étape précédente.
Save the private key in the folderkey, it will be found there with the extension .ppk.
NOTE 1 – Vous gardez bien précieusement votre clé privée, you never communicate with this one! Both keys are coupled, so if you lose your private key2, you have to regenerate a whole pair.
NOTE 2 – For the users of Linux and windows vous pouvez convertir, à partir de cette même fenêtre, votre clé privée du format (Open)SSH2 vers le format PuTTY... This permits to transmit only one single public key.
It's time to start!
If you like to participate on a project of Syracuse, even published by Syracuse, send me your public key as an attachment via email.
Supposing you like to participate on the project geshi.
ssh://gitosis@melusine.eu.org:xxx/geshi.git
3, the data field Directory must be filled in correctly, put a check mark in the box Load Putty Key and select your private key. Ok !Normally a folder geshi will be generated, you now possess a copy of the project on which you can work on. What comes next is another story, another page...