Git Product home page Git Product logo

Comments (4)

GuyPaddock avatar GuyPaddock commented on August 22, 2024

Also, doesn't this capability (see link below) make it so you can pull specific versions (even deleted ones) directly? http://stackoverflow.com/questions/7204929/get-specific-version-of-unloaded-file-with-cleartool/7205294#7205294

from git-cc.

charleso avatar charleso commented on August 22, 2024

Hi Guy,

So I might be mistaken but are you running git-cc in the Clearcase directory? That would explain what you're suggesting regarding deleting files in UCM (and yes that's true if you use Clearcase-integrated explorer, but not if you use raw 'rm').

Instead you need to run git-cc in a completely separate directory in your filesystem (ie c:/gitview/myapp). You only need to pass your Clearcase directory to 'git-cc init' as an argument.

To avoid having to wait for lshistory to run again (which can be bloody slow), you can use the 'backup' of the last run by running the following. The '.git/lshistory.bak' file should be in the "G:/myapp" directory - don't lose it. :)

gitcc rebase -load=.git/lshistory.bak

Let me know how you go.

Charles

from git-cc.

GuyPaddock avatar GuyPaddock commented on August 22, 2024

I figured that out shortly after my post... I suspected it needed to be in a separate folder, but then I kept getting errors the first few times I tried it about not being able to rebase the integration stream. Now that I created a GIT child stream, life is good.

Question, can I still use load even if I change the branch list in the GITCC config?

from git-cc.

charleso avatar charleso commented on August 22, 2024

Hi Guy,

The branch list just filters what's is loaded from lshistory.bak; it doesn't affect the lshistory command that was run. So yes it should be fine.

Charles

from git-cc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.