use GIT with eclipse plugin egit

use GIT with eclipse plugin egit

I have heard this tool for quite a long time,once my friend ChaoChao introduced to me.I always use svn and cvs instead.
Now I will try this git since the new plugin egit for eclipse is released.

homepage:
http://www.eclipse.org/egit/

download and install location:
http://download.eclipse.org/egit/updates/

document location:
http://www.eclipse.org/egit/documentation/


Getting Started

Click the project you want to share,and then [Team]-----[Share Project], choose [Git],[Next]
Choose a directory d:\work\exefinance, click [Create Repository]-----[Finish]

[Team] -----[Track]
[Team] -----[Commit]
[Compare With] ------[History]

Pushing a Local Repository to GitHub
asign in this site:
https://github.com/

create rsa_key first
[Window]-----[Preferences]------[General]-------[Network Connection]-----[SSH2]
[Key Management]------[Generate RSA Key]

click the add public key area,put the text from the file C:\Documents and Settings\sillycat\.ssh\id_rsa.pub

create a New Repository

Project Name: exefinance
Description:
[Create]

click the project you want to share,[Team] -----[Push]
URI: [email protected]/luohuazju/exefinance.git
Protocol: git+ssh
User: git
Password: 留白

[Next]

Source ref:  refs/heads/master
Destination ref: refs/heads/master
[Add all branches spec] ------[Next]

[Finish]

after that ,you can access your code from this url:
http://github.com/luohuazju/exefinance

Fetch the project from github

[Git Repositories]-----[Import Git Respository]
URI: [email protected]/luohuazju/exefinance.git
Protocol: git+ssh
[Next]   [Next]

Directory: E:\git\exefinance
Initial branch: master
Remote name:    origin

[Finish]

中文文档
http://progit.org/book/zh/

你可能感兴趣的:(eclipse,SVN,git,ssh,cvs)