2 Answers
- Newest
- Most votes
- Most comments
2
OK, as CodeCatalyst does not support this option yet we need to use the "manual" way to achieve this.
Using the answer here we are able to keep the history aswell:
git remote add XXX_remote <path-or-url-to-XXX-repo>
git fetch XXX_remote
git merge -s ours --no-commit --allow-unrelated-histories XXX_remote/master
git read-tree --prefix=ZZZ/ -u XXX_remote/master
git commit -m "Imported XXX as a subtree."
answered 2 years ago
0
Unfortunately, CodeCatalyst does not currently support moving source repositories from one project to another. You would have to manually clone the repository and push it to the target project. Additionally, this process may result in the loss of commit history.
answered 2 years ago
Relevant content
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago