Changes between Version 1 and Version 2 of GitSetup


Ignore:
Timestamp:
2011-09-18 12:29:32 (13 years ago)
Author:
edy
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GitSetup

    v1 v2  
    3636        $ ssh-keygen -t rsa "your_email@youremail.com" 
    3737 
    38 Press enter on each prompt for leaving the default settings. Two files will be created at the subdirectory _.ssh_ inside your local user diretory: 
     38Press enter on each prompt for leaving the default settings. Two files will be created at the subdirectory _.ssh_ inside your local user directory: 
    3939 
    4040        id_rsa 
     
    4343Open the [Vehicle Physics project page](http://projects.edy.es/trac/edy_vehicle-physics/), then click _My Profile > Public Keys > New Key_. 
    4444 
    45 Open __id_rsa.pub__ using Notepad, select __all__ the text and copy it to the clip 
     45Open __id_rsa.pub__ with a text editor (Notepad). Copy _all_ the text exactly as is without adding or removing anything. Then paste it into the __Value__ field. Give the key a name of your choice and click _Add key_. 
     46 
     47Now configure your name and email in GIT for matching the email you generated the SSH key with: 
     48 
     49        $ git config --global user.name "Firstname Lastname" 
     50        $ git config --global user.email "your_email@youremail.com" 
     51 
     52 
     53 
     54#### Cloning a repository using SSH 
     55 
     56        $ git clone ssh://git@projects.edy.es/edy/vehicle-physics.git 
     57 
     58#### Configuring an already cloned repository to use SSH 
     59 
     60        $ git remote set-url origin ssh://git@projects.edy.es/edy/vehicle-physics.git 
    4661 
    4762