Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6240863
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T11:38:59+00:00 2026-05-24T11:38:59+00:00

I’m a long time Eclipse user but new to Git/Egit. Recently I’ve been trying

  • 0

I’m a long time Eclipse user but new to Git/Egit. Recently I’ve been trying to use Egit because I want to use GitHub to collaborate with a number of projects. The projects I want to work on are not Eclipse-specific projects but I’d still like to set up a workflow so that I can work on them in Eclipse.

It seems that there are a number of things that need to fit together:

  1. The remote repository (on GitHub)
  2. The local repository (somewhere on my filesystem)
  3. The Git working directory
  4. The Eclipse project that I want to work in (including stuff outside the source tree like Eclipse project files, Maven config, build folders etc.)

How do these relate to each other and what should be my workflow?

In particular:

  • Do I actually need a local repository or can I just work directly with the remote repository (like with SVN)?
  • Can the Git working directory also be the Eclipse project? Or is this a bad idea?
  • What should my workflow of push/pull/fetch etc. normally be?
  • If I use Maven for dependency management in the Eclipse project, but don’t want all the Maven-specific stuff to get committed to SCM, can this work?

Guess I’m loking for some sound advice from someone who’s successfully made this work!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T11:39:00+00:00Added an answer on May 24, 2026 at 11:39 am

    Do I actually need a local repository or can I just work directly with the remote repository (like with SVN)?

    Git is all about working on a local repository and pushing elsewhere when necessary.

    Can the Git working directory also be the Eclipse project? Or is this a bad idea?

    If it lines up this way, then yes. This is how I’ve managed my projects.

    What should my workflow of push/pull/fetch etc. normally be?

    You push when you feel you have made enough commits (sometimes only 1) that are worth pushing. You pull when you want to work with changes that other people have pushed.

    See gitworkflows for the official doc on different types of workflows.

    If I use Maven for dependency management in the Eclipse project, but don’t want all the Maven-specific stuff to get committed to SCM, can this work?

    Usually you just commit the pom.xml. Anything else is a user specific setting. Although, if I clone your repository and can’t do a “mvn compile”, then there’s something wrong.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want use html5's new tag to play a wav file (currently only supported
I want to count how many characters a certain string has in PHP, but
I am trying to understand how to use SyndicationItem to display feed which is
I have a French site that I want to parse, but am running into
I need to clean up various Word 'smart' characters in user input, including but
I want to construct a data frame in an Rcpp function, but when I
I'm trying to use string.replace('’','') to replace the dreaded weird single-quote character: ’ (aka
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a jquery bug and I've been looking for hours now, I can't
Basically, what I'm trying to create is a page of div tags, each has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.