Git clone - Filename too long error
For some repositories like Hadoop and Spark, the file paths can be very long. When cloning these repositories using Git Bash, you may encounter this error - Filename too long.
Fix this issue
To fix this issue, you can just simply add another option when cloning:
git clone --config core.longpaths=true <url>
If you don't want to add this configuration option each time, you can simply add it into your git configurations.
git config core.longpaths true # Or add it globally git config --global core.longpaths true