Step 1 – Mirror clone. … Step 2 – Create empty repo on the new Git Server. … Step 3 – Push to the new Git Server. … Step 4 – Import into GerritHub.io (Optional)
How do I convert a project to Git?
- Go into the directory containing the project.
- Type git init .
- Type git add to add all of the relevant files.
- You’ll probably want to create a . gitignore file right away, to indicate all of the files you don’t want to track. Use git add . gitignore , too.
- Type git commit .
How do I migrate from RTC to Git?
- It inits an empty git repository clones it and in there it creates a workspace based on your oldest stream.
- For a given stream, given by a config file, it reads the baselines of the component.