Insert Installing and Cloning Git Repository - Eclipse ~ Git version control and GitFlow

Installing and Cloning Git Repository - Eclipse

Installing Git plugin in Eclipse:

Go to Eclipse and click on Help menu item --> Eclipse Marketplace and type "egit" in find bar and click on search. Install Egit as shown below.



Eclipse preference settings for Git:

In order to use Git, you must configure your full name and email address details. This information is used to fill the author and committer information of commits you create.

The Git configuration settings can be changed/added via the Eclipse preference setting. Select Window → Preferences → Team → Git → Configuration to see the current configuration and to change it.

Add entries to Git configuration by clicking on "Add Entry" button on the Git Configuration preference page. Add your full name and email.


Use the user.name as key and your full name as value. Repeat the procedure for your email address via the user.email key.

Cloning Git Repository:

After installing Git plugin, go to window menu item --> Perspective --> Open Perspective --> Other --> Git

Once you're in Git perspective, click on "Clone a Git Repository and add the clone to view" button as shown below.


Provide required information such as url, username and password of the git repository and click "Finish".


Now you can see your project in git perspective. 












No comments:

Post a Comment

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Affiliate Network Reviews