- clone the new repo
foo - in
foo,mkdir import-foo-dirandgit mveverything into that directory to avoid conflicts - in
MoonBasedo:gco -b import-foo-projectgit remote add foo ${path-to-foo}git fetch foogit merge foo/main --allow-unrelated-histories- put stuff where you want it and bazel-ify