From: Peter Baumann Date: Fri, 24 Apr 2009 09:20:07 GMT Subject: Re: How to sync changes in GIT to ClearCase or How to get the list of files changed in GIT for a specific branch Message-ID: <20090424092007.GD25300@m62s10.vlinux.de> In-Reply-To: <23197522.post@talk.nabble.com> On Thu, Apr 23, 2009 at 11:59:20AM -0700, ask4thunder wrote: > > Hi Everyone, > > Thanks for looking into this thread. > > This is a help on GIT to ClearCase sync and am using UNIX session and not > Windows > > I am intending to use ClearCase in the background and GIT in the front. > For syncing files from ClearCase to GIT i > checkout the git branch > use rsync command to get the changed files in ClearCase > and then i do the 'git add' and 'git commit' > > This works out well, but i want to get a list of files changed in GIt so > that i can bring that to ClearCase and checkout and checkin files. > > Can someone provide me the commands to > > 1. Get list of files changed in GIT, after i do commit? > 2. Get list of files changed in GIT after commit, but files changed after a > tag (baseline). > 3. Sync these files to ClearCase? > > > Hope you gurus can help me....am in desperate need of these commands. > Appreciate your help in this. > > Thanks > ask4thunder > This is what I used to work with clearcase in a former job: Use cc_import.sh to import your changes and later export your changes back to CC with export2cc.pl