Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not clone repository 'https://github.com/RobotecAI/ros2cs.git': fatal: destination path '.' already exists and is not an empty directory. #120

Open
matthewjd24 opened this issue Jan 17, 2025 · 0 comments

Comments

@matthewjd24
Copy link

matthewjd24 commented Jan 17, 2025

I get an error when trying to build for Ubuntu (following these instructions https://github.com/RobotecAI/ros2-for-unity/blob/develop/README-UBUNTU.md). This error occurs at the fourth step, the ./pull_repositories.sh command.

Pulling ros2cs repository:
=== ./src/ros2cs/ (git) ===
Could not checkout ref '1.3.0': error: The following untracked working tree files would be overwritten by checkout:
.gitattributes
.gitignore
LICENSE.AL2
NOTICE
README-UBUNTU.md
README-WINDOWS.md
README.md
build.ps1
build.sh
custom_messages.repos
get_repos.ps1
get_repos.sh
Please move or remove them before you switch branches.
Aborting

  • OS: Ubuntu22.04
  • ros2 distro: Humble
  • ros2 environment setup: single pc

I have tried deleting the ros2-for-unity folder, creating a new terminal session, and trying again, but I get the same error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant