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

  • Home
  • SEARCH
  • 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 998283
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T07:10:10+00:00 2026-05-16T07:10:10+00:00

I’m coming from a ClearCase background where we (simply speaking) had a workflow made

  • 0

I’m coming from a ClearCase background where we (simply speaking) had a workflow made up of three steps where the leftmost trunk was unstable, middle trunk is Quality Assurance and the rightmost was stable. i.e.)

A  A  A
|  |  |
B  C  |
| /|  |
C  |  E
|  | /  
D  E
| /
E

As you can see the stable trunk contains only the versions that have been qualified. I’m having problems replicating this workflow in Git as versions B, C and D are also pushed into the QA trunk and subsequently the stable trunk. In my eyes this defeats the purpose of a “clean” trunk containing only stable versions.

Now there’s obviously fundamental differences between Git and ClearCase which I’m sure explains why I’m having trouble using my previous conceptions to specify a workflow.

I’ve been trying to wrap my head around these new SCM tools (I’ve looked at Mercurial too) for a couple of days now and could really use some pointers on how to proceed. We’re developing on Mac and Windows PCs and the vast majority of the teams prefer GUI tools compared to command line.

Thanks! 🙂

  • 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-16T07:10:11+00:00Added an answer on May 16, 2026 at 7:10 am

    First you can read this comparison between ClearCase and Git

    As explained in Middle-ground between submodules and branches?, the one concept which is likely to trick you when coming from ClearCase is the notion of composition (configuration inheritance): see Flexible vs static branching (GIT vs Clearcase/Accurev).

    ClearCase works file by file (or activity by activity, each activity being a group of files).
    Git works blob delta by blob delta (each blob representing a content: if two files have the same content, only one “blob” will be stored)

    That means what you are trying to do in ClearCase through branch/streams and activities (if you are using UCM), will more likely be achieved through:

    • commit reordering (rebase –interactive, which is the “git” way, and not recommended in mercurial)
    • and/or publication (which is an orthogonal dimension to branching, specific to DVCS)

    reordering + merge (only for commits not yet “published”, ie not pushed):
    You are reordering the modifications deltas applied to your code, in order to merge only what you want.

    trunk => trunk'  QA => QA'  stable
      A        B'    
      |        |  
      B        D'
      |        |  
      C        A'----A'    C''
      |        |     |     |
      D        C'    C'    A''--  A''  (--: merge to branch)
      |        |     |     |      |
      E        E     E     E      E
    
    • reordering + publication (push):

    You can also represent each code promotion by a git repo of its own.
    Once the commits are in the proper order, you push the relevant branches to a QA repo, or a stable repo.


    The reordering (history rewriting) is:

    • not encouraged in Mercurial, while being technically possible
    • problematic when a developer pull a branch someone else has rebased (reordered): see the RECOVERING FROM UPSTREAM REBASE section of the git rebase man page.

    See also:

    • A successful Git branching model
    • Using Mercurial in a Large Organization
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have text I am displaying in SIlverlight that is coming from a CMS
I am currently running into a problem where an element is coming back from
For some reason, after submitting a string like this Jack’s Spindle from a text
link Im having trouble converting the html entites into html characters, (&# 8217;) i
Does anyone know how can I replace this 2 symbol below from the string
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have a bunch of posts stored in text files formatted in yaml/textile (from
I have just tried to save a simple *.rtf file with some websites and
Seemingly simple, but I cannot find anything relevant on the web. What is the

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.