Using Git

From OO Lab
(Difference between revisions)
Jump to: navigation, search
 

Latest revision as of 12:52, 29 July 2013

Contents

[edit] Using Git

[edit] Tutorial Slide

Media:giteveryone-101022053442-phpapp02.pdf

[edit] Documentation

PROGIT

[edit] How to generate a SSH key

How to generate a SSH key

[edit] TortoiseGit

After you follow "how to generate a SSH key" make sure the keys are stored in .ssh when you use tortoise to clone a repository, please unclick the following

Tortoisegit3.png

If you want to use putty key, please do the following A putty key can follow you anywhere without being saved in some .ssh

  1. . Open Puttygen in TortoiseGit (puttygen is another standalone program comes with tortoiseGit)
  2. . Load your private key id_rsa
  3. . Save private key into a .ppk format
  4. . Quit puttygen

Enter this .ppk key when clone a remote github. And it should work.

However, when it is not work, and git server tells you "remote hang up" check your tortoise git setting

Tortoisegit1.png Tortoisegit2.png

Make sure the path is the git.exe comes with tortoiseGit. In my case, it is set to a cygwin path which can cause remote to hang up.


[edit] related pages

Step by Step setup git server

Personal tools