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
Over 2 million developers have joined DZone.
Log In / Join
Please enter at least three characters to search
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Modernize your data layer. Learn how to design cloud-native database architectures to meet the evolving demands of AI and GenAI workkloads.

Secure your stack and shape the future! Help dev teams across the globe navigate their software supply chain security challenges.

Releasing software shouldn't be stressful or risky. Learn how to leverage progressive delivery techniques to ensure safer deployments.

Avoid machine learning mistakes and boost model performance! Discover key ML patterns, anti-patterns, data strategies, and more.

Related

  • Step-By-Step Tutorial: Installing Eclipse IDE
  • Remote Pair Programming with IntelliJ, Eclipse and VS Code
  • Testing Jedis API Using Junit Test Case in Eclipse IDE
  • Adding a Selenium-Maven Project From Eclipse to GitHub Repository

Trending

  • Simplify Authorization in Ruby on Rails With the Power of Pundit Gem
  • Chaos Engineering for Microservices
  • Scaling InfluxDB for High-Volume Reporting With Continuous Queries (CQs)
  • SQL Server Index Optimization Strategies: Best Practices with Ola Hallengren’s Scripts
  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 user avatar
Vishwas Sampath
·
Updated May. 10, 22 · Tutorial
Likes (5)
Comment
Save
Tweet
Share
45.5K 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.

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
  • Testing Jedis API Using Junit Test Case in Eclipse IDE
  • Adding a Selenium-Maven Project From Eclipse to GitHub Repository

Partner Resources

×

Comments
Oops! Something Went Wrong

The likes didn't load as expected. Please refresh the page and try again.

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

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 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends:

Likes
There are no likes...yet! 👀
Be the first to like this post!
It looks like you're not logged in.
Sign in to see who liked this post!