Skip to main content
Mar 26, 2024 1:00 PM UTC
Question

Support at Codebeamer how can move a git repository from a project to another

how can i move a git repository from one project to another? unfortunately i can't find any help in the codebeamer help center.

2 replies

Mar 27, 2024 8:20 AM UTC
Apr 17, 2024 2:17 PM UTC

Now I found a way to move git repo with the same name between 2  codebeamer projects:

  1. create bundle by git bundle create dmp.bundle --all
    1. be sure that all branches are checkout locally otherwise they are not in bundle (you may need to write a script)
    2. make tests that the bundle contains everything
  2. in CodeBeamer you need administration permission
    1. got to current project
      1. delete the current git repo 
      2. clean up the trash
    2. on filesystem of Codebeamer delete (rename) the current git repo
    3. got to new project
      1. create new repo with indication of created dmp.bundle and the same repo name
  3. clone repo for testing

Good luck!