Filename too long error: unable to index file error while adding files in GIT AEM repository
Hi Experts,
I am getting below error when i am try to add add files in GIT repository
git add .
how to fix Filename too long error: unable to index file issue ?
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in ui.content.sample/src/main/content/jcr_root/content/dam/wknd/en/contributors/stacey-roswells.jpg/.content.xml.
The file will have its original line endings in your working directory
error: open("ui.content.sample/src/main/content/jcr_root/content/dam/wknd/en/contributors/stacey-roswells.jpg/_jcr_content/renditions/cq5dam.thumbnail.48.48.png.dir/.content.xml"): Filename too long
error: unable to index file 'ui.content.sample/src/main/content/jcr_root/content/dam/wknd/en/contributors/stacey-roswells.jpg/_jcr_content/renditions/cq5dam.thumbnail.48.48.png.dir/.content.xml'
fatal: adding files failed
or
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in ui.content.sample/src/main/content/jcr_root/home/groups/wknd/MolAFMcBDSSfI902CqgF/_rep_policy.xml.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in ui.content.sample/src/main/content/jcr_root/home/groups/wknd/MolAFMcBDSSfI902CqgF/profile/photos/primary/image.dir/.content.xml.
The file will have its original line endings in your working directory
error: open("ui.content.sample/src/main/content/jcr_root/home/groups/wknd/MolAFMcBDSSfI902CqgF/profile/photos/primary/image.dir/_jcr_content/_dam_thumbnails/_dam_thumbnail_48.png"): Filename too long
error: unable to index file 'ui.content.sample/src/main/content/jcr_root/home/groups/wknd/MolAFMcBDSSfI902CqgF/profile/photos/primary/image.dir/_jcr_content/_dam_thumbnails/_dam_thumbnail_48.png'
fatal: adding files failed

