Closed MatteoManaRWE closed 1 year ago
to fix this issue I have added the line “longpaths = true” in \digital_wra_data_standard.git\config file. It is now working fine.
\digital_wra_data_standard.git\config file
[core] repositoryformatversion = 0 filemode = false bare = false logallrefupdates = true symlinks = false ignorecase = true longpaths = true [submodule] active = . [remote "origin"] url = https://github.com/IEA-Task-43/digital_wra_data_standard.git fetch = +refs/heads/:refs/remotes/origin/ [branch "master"] remote = origin merge = refs/heads/master [lfs] repositoryformatversion = 0 [branch "dev"] remote = origin merge = refs/heads/dev [branch "iss202_height_ref_type"] remote = origin merge = refs/heads/iss202_height_ref_type
you should also check the local settings of windows these links could be usefull as reference
https://stackoverflow.com/questions/22575662/filename-too-long-in-git-for-windows https://helpdeskgeek.com/how-to/how-to-fix-filename-is-too-long-issue-in-windows/
when cloning the repository using GitHub desktop (https://desktop.github.com/) the files wiht long name in docs/*.md are not written in the local folder structure (I'm using windows version). an error is rised telling that the file are not written as the file name is too long. afterward the repository can not syncronize as the file are missing.