No no. This is how it happens:
- git correctly created a file at a subdirectory
- rclone correctly copied the file to the remote when syncing the parent directory.
- git correctly replaced the file with a directory in the same subdirectory
- rclone couldn't sync the parent directory anymore because there was a file already at the location
The only solution I could find is to delete the files from google drive manually. However, this has the drawbacks I listed above.
That's why I'm asking if there's an option in rclone to automatically handle this, be it by replacing the file or at least ignoring the problem.