Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only master Branch is creating while migrating but unable to create other branches #95

Open
sandesh2026 opened this issue Jan 6, 2020 · 1 comment

Comments

@sandesh2026
Copy link

sandesh2026 commented Jan 6, 2020

I added these lines in gitcc configuration file

[master]
clearcase = V:\clearcase-prod-branch-view\path\to\project-src
branches = prod_branch
[dev]
clearcase = V:\clearcase-dev-branch-view\path\to\project-src
branches = dev_branch

After i run gitcc rebase only master branch is created in git but dev is not created, what is the reason for this?

@charleso
Copy link
Owner

charleso commented Jan 7, 2020

@sandesh2026 My apologies, the "branch" support in git-cc is pretty terrible. From memory (it was about 8 years ago now), if you have to actually checkout a dev branch, and run rebase again.

Trying to sync branches from clearcase is extremely hard and lossy. I made a half-hearted attempt to support a better branch model in my second version of git-cc, https://github.com/charleso/gitcc4j, but that is equally badly documented and you would have to read the code.

Sorry. :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants