What do you mean by "sync"? The agent running the code remotely will clone (or update) the git repo according to the specified repository details in the task
so that imports from local repos will not fail
In the past I worked with a remote interpreter and synched the directory to which all my git repos are pulled with a remote folder in the remote machine
When the import command is executed remotely it crashes since these branches were pulled to the local machine
and inside the script I import the desired parts from each of them
Is there a way to deliver this folder to the agent / the task?
You can always edit those details before running remotely (setting a new branch, clearing out the commit ID etc.)\
Do you happened to know if there is a way to sync my local git folder when executing remotely?
Well, ClearML currently supports a single repository. If you code needs more, it can clone them explicitly...
How exactly are you using multiple repos?
Hi PunyPigeon71 ,
You can use the agent's agenrt.package_manager.force_repo_requirements_txt: true
setting to make sure it will always install the repository's requirements file
I pulled a local copy of the desired branch from each to a local folder