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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T13:52:59+00:00 2026-05-16T13:52:59+00:00

I have a few questions about git. I have read a couple of documents

  • 0

I have a few questions about git. I have read a couple of documents illustrating how git command works. But never one that talked about how Git could be used and its behaviors. I’m using SmartGit as interface and only rarely use the command prompt(which I should do more often) and I connect to my own git server on my network.

First off, why am I getting a sub-folder when I clone a repository into my projects ? For example I have a project in java. So I make a repository on my server and I clone it on my laptop, the folder I clone to is my project folder directly under my /workplace. But then inside my project’s folder I have another folder and this one is the cloned repo. Then I have to copy all the files in there and if anything was liked to the previous pathname I have to fix it all. Am I missing something ?

My next question is in regard on how we use Git for. Should my repositories be the root of multiple projects ? Or a single repo per project ? I’m guessing a single project per repo but I might be wrong. Is there any standardized way of classifying our git files and projects ?

Sorry if this wall of text kills anyone, but I ran out of ideas on how to format my question. Apart from a book or two explaining the mechanisms of Git this is all trial and error learning, I might be woefully wrong and be glad if anyone could point me toward the right direction.

  • 1 1 Answer
  • 2 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-16T13:52:59+00:00Added an answer on May 16, 2026 at 1:52 pm

    Using a central git server is not necessary and should be viewed as optional. You would do that if you have some centrlised workflow which must be followed or it is too hard to track your team mates. We use some central github repo because some teammembers are foten on the road and we have traditionally a centralised workflow which is integrated with our hudson CI server. But we started out in a peer-to-peer model at first when deciding we were too frustrated with CVS.

    For the additional directory : clone the projects from EGit in eclipse or from the workspace directory. Actually i find this rather normal behavior, I think subversion and CVS work similar?

    1 project – 1 repo is the norm AFAICT. There are submodules fo rshared components, but I have not figured out yet how to work with them. With the current crop of dependency management build tools, this has become less of an issue in my opinion.

    Since the git repos are distributed they can be ordered, stored categorized however fits best for the repo in question. Each git repo is freestanding and complete and combined with the dependency managing build tools of the previous paragraph, their actual location is unimportant, which makes for easier integration with IDE’s, CI-tools, artifact repos, not because there is special support for them, but rather of not have things sticking out of it which are in the way of smooth integration.

    There is q free resource which goes in detail : the ful text of the Pro Git book is available here . This also discusses some typical usage patterns.

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

Sidebar

Related Questions

I have read few questions about parsing string by tags, but I didn't find
I have a few questions about Grit/Git that I hope you can help me
I have a few questions about endian-ness that are related enough that I warrant
I have few questions about jQuery DataTables: How can i do that arrow next
I have a few questions about Qt. I already know that Qt and OpenGL
I have few questions about ssis transction isolation levels. consider a scenario:I have an
I have few questions about using lock to protect my shared data structure. I
I have a few questions about Xcode and interaction with GCC 4.2.1: It doesn't
I have a few questions about this after reading the iPhone documentation on it:
I have a few questions about cross-page posting in ASP.NET: What is cross-page posting

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.