msdn-code-gallery-microsoft icon indicating copy to clipboard operation
msdn-code-gallery-microsoft copied to clipboard

Very long filenames make this challenging to clone on Windows

Open bridgewaterrobbie opened this issue 5 years ago • 4 comments

While trying to clone this for one sample, I got many errors similar to "error: unable to create file Official Windows Platform Sample/Application resources and localization sample/[JavaScript]-Application resources and localization sample/JavaScript/images/ja/projector.scale-180_contrast-standard.png: Filename too long" on a Windows 10 computer that is (I think) under a standard configuration. I had to figure out how to do a partial clone to get the bit I wanted.

bridgewaterrobbie avatar May 22 '20 21:05 bridgewaterrobbie

I'm facing same issue, is there any workaround for this

jeganrajm avatar Jul 13 '20 04:07 jeganrajm

@jeganrajm google how to do a partial git clone, and clone just the sample's path you want.

bridgewaterrobbie avatar Jul 13 '20 14:07 bridgewaterrobbie

https://dev.to/kiwicopple/quick-tip-clone-a-single-folder-from-github-44h6

AndrewPardoe avatar Jan 02 '21 17:01 AndrewPardoe

https://stackoverflow.com/questions/52699177/how-to-fix-filename-too-long-error-during-git-clone/52699496

sumnoon avatar Jan 06 '21 11:01 sumnoon