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 8600007
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T01:31:17+00:00 2026-06-12T01:31:17+00:00

i started to learn git, created a git repo in a svn way (many

  • 0

i started to learn git, created a git repo in a svn way (many projects per repo) and started do develop the project

x/
+--.git/
      +--y/
         |--pom.xml
         +--rest of java files and folders

so actually root of my java project is y but root of git repo is x. eclipse handles it really nicely allowing you to specify ‘working directory’/’path’ inside the repo that becomes root of your project

but when i tried to integrate it with jenkins i realised that git way is ‘one repo per project’ and i can’t provide such ‘working directory’ in jenkins.

my question is: what for eclipse introduced the concept of ‘working directory’/’path’ if it’s incompatible with rest of the world? when should i use it?
i’m sure i’m missing something, but don’t know what

  • 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-06-12T01:31:18+00:00Added an answer on June 12, 2026 at 1:31 am

    “many projects per repo” is called submodules in git world.
    Limiting each repo to one project is better (and more compatible with other frameworks expectations, like Jenkins), but a git repo can reference many other repos through submodules.

    The working directory is by default x, but could be any other path if you want to separate the actualt repo x/.git from the working directory (you could want to be elsewhere)

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

Sidebar

Related Questions

I have started to learn how to use OOP and have created a user
I'm reading about using git as an svn client here: http://learn.github.com/p/git-svn.html That page suggests
Started to learn programming 2 months ago, in one of my little projects i
I started to learn cpp and encountered cin as a way to receive input
Started to learn LINQ with C#. Especially LINQ to Objects and LINQ to XML.
I started to learn how to implement Rest WS on my website, but I
I started to learn Java, JSF2 and JPA2 and used Pet Catalog example project
I just started to learn Mono Develop Installed Mono Develop 2.4.1 and trial version
I've started to learn git in the past few days and I have a
I have just started trying to learn Git and I have got a little

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.