DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Newsletter
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • Step-By-Step Tutorial: Installing Eclipse IDE
  • Remote Pair Programming with IntelliJ, Eclipse and VS Code
  • Closing the Drift Loop: An AI Agent That Drafts Terraform Fixes
  • When a Coding Agent Fixes the Test Instead of the Bug

Trending

  • Member Spotlight: Srinivas Chippagiri
  • How to Evaluate Coding Agents With Harbor Framework, Python, Docker
  • The Self-Hosting Math Changed While We Were Still Arguing About Sovereignty
  • 5 Mistakes Companies Make When Working With Staff Engineers

Draft This article hasn't been published, so readers can't see it.

In moderation This article is waiting for review, so readers can't see it yet.

Deleted This article has been deleted, so readers can't see it.

  1. DZone
  2. Software Design and Architecture
  3. Integration
  4. How to Configure Git in Eclipse IDE

How to Configure Git in Eclipse IDE

Let's get Git configured in Eclipse so you can import and perform operations on repos within your IDE.

By 
Vishwas Sampath
·
Updated May. 10, 22 · Tutorial
Post on X (opens in a new tab) Share on LinkedIn (opens in a new tab)
47.0K Views

Join the DZone community Save articles, join the discussion, and download Refcards and Trend Reports with a free account.

Join for free Already a member? Log in

In this blog, we're going to learn how to configure Git on Eclipse. I am going to explain every step with screenshots.

Step 1 - Open Eclipse

Step 2 - Clone a Git repository

Step 3 - Choose the source Git repository

Step 4 - Select the branches that need to clone

Step 5 - Storing the Cloned Repository


  • Eclipse version: Mars.1 Release (4.5.1)

  • Type of Git: Bitbucket Atlassian.

Step 1 - Open Eclipse

Open Eclipse. On the top-right, you will find all the perspectives like Java, Java EE, debug, etc.

Search for Git and click on it.

Step 2 - Clone a Git repository

Click on the icon marked below to clone a Git repository and add the clone to this view.

Git repositories will be empty to start.

Step 3 - Choose the source Git repository

The window below will appear where we choose our source Git repo.

To get the URI, log into your Bitbucket account. Click here to sign-up

Copy your repository's HTTPS link and paste it in the window above.

Once you paste the validated URI, the rest of the fields will get auto-filled. 

Click Next.

Step 4 - Select the branches that need to clone

Then the Branch Selection window will appear. Just select the branches you want to clone from the repository. Then click Next.

Step 5 - Storing the Cloned Repository

Another model window appears.i.e., Local Destination.

Select directory to store the Cloned Repository.

Select Initial Branch like Master or Branch1 or Branch2.

Click Finish

After clicking Finish, you should be able to see newly created repository in the Git Repository Explorer.

Related tutorial: What to do when Tomcat failed to start from Eclipse.

Now you have successfully configured Git on Eclipse! You can import a Git project into Eclipse and perform any Git operations.

Git Eclipse Integrated development environment

Opinions expressed by DZone contributors are their own.

Related

  • Step-By-Step Tutorial: Installing Eclipse IDE
  • Remote Pair Programming with IntelliJ, Eclipse and VS Code
  • Closing the Drift Loop: An AI Agent That Drafts Terraform Fixes
  • When a Coding Agent Fixes the Test Instead of the Bug

Partner Resources

×

Comments

Loading comments

The comments didn't load

Please try again in a moment.

Likes

Loading

The next likes didn't load. Please try again.

The likes didn't load

Please try again in a moment.

See who liked this

Log in or join DZone for free to see who liked this article.

Log in Join for free
  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook