5

Of course our organization doesn't have documentation any where.

I'm wondering if it's possible to use clearcase in a git-like manner?

Meaning, is there a method to branch/fork a specific file? pull request? merge/commit? etc.?

Or is there an easy method for some type of desktop SVN that I can work into my clearcase workflow?

Jason
  • 7,612
  • 14
  • 77
  • 127
  • "Of course our organization doesn't have documentation any where." That should not be an 'of course'. Live your organisation. –  Aug 22 '12 at 21:26
  • @H2CO3 - ok, I should clarify - there is IBM documentation, and I'm sure somewhere in the depths of wikis, individual dept wikis, etc. there exists a document partially written 6 years ago that links to things that no longer exists – Jason Aug 23 '12 at 00:08

1 Answers1

5

You will find the main differences between ClearCase and Git in "What are the basic clearcase concepts every developer should know?".

The main difference which prevents you to use ClearCase like Git is the absence of private commit: if you checkin a file in the same branch (or UCM stream) than your colleague, he/she will have to take your new version immediately (for dynamic view) or at the next update (snapshot view).

Using ClearCase across sites can be done with ClearCase multi-site, with a cumbersome system of ownership which prevent any concurrent work.
Or you can use CCRC (ClearCase Remote Client)

In both cases, you still need to be connected to a ClearCase server, otherwise you won't be able to checkin (which changes from Git, where you can commit locally).

I would advise at least to use ClearCase with UCM (a methodolgy shipped with ClearCase), which will force you to clearly define UCM components (equivalent in size of Git repos), and Streams (configurations of baselines from which you are working).
From there, you clearly see the worklow of merges you need to do.

See "ClearCase UCM - best practices using components" for more.
But again, this will be different from Git.

See also "Describe your workflow of using version control (VCS or DVCS)" to better understand the differences between CVCS and DVCS.

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • Regarding the documentation, everything is on ibm.com, but the SO answers I reference are more about the pitfalls and best practices. – VonC Aug 22 '12 at 21:49
  • @Jason not sure about "desktop SVN", but UCM will be way better that SVN, in that it will manage merges more easily and precisely. – VonC Aug 23 '12 at 03:50
  • @Jason ClearCase will come with all the necessary GUIs, both a ClearCase Explorer for base ClearCase, and a "Project Explorer" for UCM, plus an integration with the Windows shell Explorer. – VonC Aug 23 '12 at 05:47