EGit

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了EGit相关的知识,希望对你有一定的参考价值。

Every commit in EGit will include the user’s name and his email-address. These attributes can be set in the Preferences-window Window => Preferences.

Navigate to Team => Git => Configuration

and hit the New Entry… Button.

Enter user.name as Key and your name as Value and confirm. Repeat this procedure with user.email and your email address and click OK in the Preferences window.

The username and email should be the same you use for your Git account, ie. your GitHub account.

 

 

Creating Local Repositories

One major advantage of Git compared to SVN or CVS is that you can easily create local repositories, even before you share them with other people. In this way, you can version your work locally.

First, you have to create a project in Eclipse that you want to share via your local repository.

For later purposes it would be useful to add some files, e.g. a Java class to your project.

以上是关于EGit的主要内容,如果未能解决你的问题,请参考以下文章