DZone
Open Source Zone
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
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Open Source Zone > 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.

Vishwas Sampath user avatar by
Vishwas Sampath
·
May. 10, 22 · Open Source Zone · Tutorial
Like (5)
Save
Tweet
20.48K Views

Join the DZone community and get the full member experience.

Join For Free

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.

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.

Popular on DZone

  • Understand Source Code — Deep Into the Codebase, Locally and in Production
  • 9 Strategies to Improve Your Software Development Process
  • SQL vs. NoSQL: Pros and Cons
  • The Importance of Semantics for Data Lakehouses

Comments

Open Source Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

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

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo