rtcTo / rtc2gitcli

An IBM's RTC SCM tool extension to migrate an RTC repository into a Git repository
https://rtc.to
MIT License
28 stars 34 forks source link

Help needed on using this tool #43

Closed kaiilin closed 6 years ago

kaiilin commented 6 years ago

Hi, I have set up the migration tool and RTC source/target workspace. I tried to migrate a simple RTC repository as a test but it failed with the following error. What does it mean?

    _Could not initialize data area. Directory is not shared: E:\share_

I am not quite sure how this work to migrate the code to github. Is there somewhere I need to provide the github connection information? does this tool work with private enterprise github server?

akoptelov commented 6 years ago

@kaiilin It looks like scm can't find its metadata in E:\share_. Did you load your workspace there? scm load -r <uri> -u <username> -P <password> <TARGET_WORKSPACE>

kaiilin commented 6 years ago

@akoptelov Thanks. I revised to point to the right directory and it seems complete the migration process. What should I do to move it github? thanks.

akoptelov commented 6 years ago

@kaiilin Now you have a local git repo. You can create a new repo at GitHub and add it as a remote repository to your local one: git remote add github <github repo url> And then finally push changes to github: git push github master

kaiilin commented 6 years ago

@akoptelov thanks for your help. understood.

kaiilin commented 6 years ago

Hi, the migration initiate the target folder as local git repo. You may follow what @akoptelov suggested to me to push your content to github. Thanks