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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T06:31:42+00:00 2026-06-06T06:31:42+00:00

My company is in the process of changing our version control tool from Rational

  • 0

My company is in the process of changing our version control tool from Rational ClearCase to Git. We have the following development scenario, and we’re curious if there’s a proper pattern to follow with Git to achieve the same behavior we have in ClearCase.

Here are some basic points about our situation:

  1. We have a number of discrete applications. Let’s call these AppA, AppB, and AppC.
  2. We also have certain files (build scripts, etc.) that are common to all of the projects. Let’s call this Tools.
  3. For any given cut of the AppA, AppB, or AppC code, we need a specific cut of the Tools code.
  4. Most of our developers never modify the Tools code.

For ClearCase, we’ve modeled this like this:

Components: app_a, app_b, app_c, tools

Projects: AppA, AppB, AppC, Tools

Project AppA includes app_a as a read/write component and tools as a read-only component.

Project AppB includes app_b as a read/write component and tools as a read-only component.

Project AppC includes app_c as a read/write component and tools as a read-only component.

Project Tools includes tools as a read/write component.

Each baseline for the App* projects references a baseline on both the app_* and tools compoments. When developers rebase to the recommended baseline, they pull in changes from both components.

For Git, we think submodules might be the closest thing to the right answer. However, when pulling/rebasing a repository, it sounds like it requires an extra step to update the submodule code. Ideally, we’d like to be transparent. Also, we don’t necessarily care about knowing what changed in a submodule from the viewpoint of the parent repository; we only care about a point in time for the entire submodule.

  • 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-06T06:31:44+00:00Added an answer on June 6, 2026 at 6:31 am

    First, be sure to understand the difference between a (UCM-like) configuration in ClearCase and git (see “Flexible vs static branching (GIT vs Clearcase/Accurev)“).
    When looking at the differences between ClearCase and Git, each UCM components must be represented in Git as a repository.

    Submodules requires an extra step if modified, as described in “true nature of submodules“.
    But they record a specific SHA1, which is what you want when you are pulling each ‘APP‘.
    gitslave would allow you to keep Tools more tightly linked with ‘Appx‘, but I don’t think it fits your scenario.

    Note that using submodules will:

    • make ‘Tools‘ a sub-directory of ‘APPx‘
    • make it modifiable.
      There is no “read-only” component with git: if you can access the repo, you can push/pull.
      If you really need to enforce a read-access, then you need to add an extra “authorization layer”, called gitolite.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here is my company's current process for moving changes from our development server to
In our company we have a business process that needs to: Get data from
We have a process at our company that processes TIFF images. I have a
I'm in the process of trying to move our company from SalesForce to SugarCRM,
My company is in the process of rewriting our software from scratch, and I'm
My company is in the process of upgrading SVN to 1.7. Checking git svn
Scenario: I am in the process of creating a website for the company I
My company is in the process of taking over a members only website from
My company does not follow any well defined process for software development. I want
My company is in the process of deprecating our Web Forms projects and using

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.