Jazz SCM equivalent operations to GIT
![]()
Hi,
I am working with a team that currently use GIT and a 3.x version of RTC, not integrated. In the past they have tried Jazz SCM but could but get all the functionality they wanted and started using GIT.
There is an opportunity for them to move to a 4.x CLM setup and they have been asking about some Jazz SCM operations equivalent to these GIT ones:
- git bisect I am going to dig deeper into this tomorrow, but I just wanted to get this out there in case others have already looked into one or more of these. Cheers Adrian |
3 answers
![]()
Hi Adrian,
You might find this post helpful: http://www.aaroncohen.me/2013/07/git-versus-subversion-versus-rational-team-concert-basic-commandline-syntax-reference/ I don't have a lot of first hand experience with git so it's hard for me to make direct comparisons. One piece you may be interested in is the option to Suspend changes. Suspend pulls changes out of your repository workspace until you resume them. This allows you to pull out in-progress changes, work on something else, and then resume working on those in-progress changes. |
![]()
A partial answer: I recently discovered how to do the equivalent of git rebase ("squashing commits") with Jazz SCM in Eclipse:
(1) in Pending Changes, select all the changesets
(2) right-click, New -> Patch (3) save the Patch as mypatch.patch (4) select all the changesets, Suspend them all (5) Project -> Apply Patch, select mypatch.patch (6) in Pending Changes, right-click the Patch, click Auto-Resolve (7) Now the changes are in Unresolved. Create a new changeset like normal |
![]() A feature was added for release 6.0.6.1 that allows a user to combine two or more change sets into a single change set. This is similar to the squash feature of GIT.
|
Comments
For the git reset functionality:
for case 1) I think the nearest would be the "Suspend" of a change set (Like Lauren already said.)
for case 2) you should have a look into the "Reverse" Action on a change set. If you have a change set delivered to a stream, you can search for it, e.g. by user or date, and then you can select the change set, right click on it and you will find a "Reverse" action, which will create a "negative" change set as a patch to undo the changes in the change set.