I am working on ClearCase to Git migration. Anybody having commands or steps to migrate from ClearCase to Git. ClearCase & Git installed on Linux environment.
actually, we have to migrate from ClearCase to Bitbucket. I came to know , Clearcase to GIT then GIT to bitbucket
Bitbucket is a Git repository hosting service, so you don't have to do anything special except create a new empty repository on that service, and push your local Git repository (using the credentials of the Bitbucket account used to create the repository)
As for ClearCase to Git import, from my past experience, I would:
.gitignore'd in the new Git repository.So:
LATEST main, or ...)git --work-tree=/path/to/ClearCase/view add .to import filesgit commit -m "import of (past baseline, or latest, or ...)"Repeat the add/commit to import incrementally all your past baselines (if you want to keep a small history).
Or just import the LATEST, and keep the ClearCase repository around, in read-only mode, if you need to explore past history.