irshadmd / Awesome-CSS-Projects

Awesome CSS Projects
MIT License
64 stars 90 forks source link

Cannot checkout project because of drum kit folder #231

Closed iris-zaf closed 1 year ago

iris-zaf commented 1 year ago

Hi , i am trying to follow the instructions but I get this issue on Windows.

$ git restore --source=HEAD :/
error: invalid path 'Drum kit /background.jpg'
error: invalid path 'Drum kit /demo/demo.gif'
error: invalid path 'Drum kit /index.html'
error: invalid path 'Drum kit /script.js'
error: invalid path 'Drum kit /sounds/boom.wav'
error: invalid path 'Drum kit /sounds/clap.wav'
error: invalid path 'Drum kit /sounds/hihat.wav'
error: invalid path 'Drum kit /sounds/kick.wav'
error: invalid path 'Drum kit /sounds/openhat.wav'
error: invalid path 'Drum kit /sounds/ride.wav'
error: invalid path 'Drum kit /sounds/snare.wav'
error: invalid path 'Drum kit /sounds/tink.wav'
error: invalid path 'Drum kit /sounds/tom.wav'
error: invalid path 'Drum kit /style.css'
irshadmd commented 1 year ago

Hi , i am trying to follow the instructions but I get this issue on Windows.

$ git restore --source=HEAD :/
error: invalid path 'Drum kit /background.jpg'
error: invalid path 'Drum kit /demo/demo.gif'
error: invalid path 'Drum kit /index.html'
error: invalid path 'Drum kit /script.js'
error: invalid path 'Drum kit /sounds/boom.wav'
error: invalid path 'Drum kit /sounds/clap.wav'
error: invalid path 'Drum kit /sounds/hihat.wav'
error: invalid path 'Drum kit /sounds/kick.wav'
error: invalid path 'Drum kit /sounds/openhat.wav'
error: invalid path 'Drum kit /sounds/ride.wav'
error: invalid path 'Drum kit /sounds/snare.wav'
error: invalid path 'Drum kit /sounds/tink.wav'
error: invalid path 'Drum kit /sounds/tom.wav'
error: invalid path 'Drum kit /style.css'

I don't see the point of running the git restore command here, why are you restoring?

iris-zaf commented 1 year ago

hey! it is a Windows limitation when there's a space in the file name it doesn't allow for the file to be checked out. the git restore was not going to do anything for me, i realised afterwards😅so figured i could inform you, so you could remove the space after Drum kit for us that use Windows. Im a beginner so idk if i explained it correcctly. This issue on Stack overflow is what I experienced too with the drum kit file! https://stackoverflow.com/questions/65924101/cant-clone-the-repository-because-of-the-space-in-the-paths

irshadmd commented 1 year ago

ohhh you are right, just removed the trailing space from 'Drum kit' you can clone it now, Thanks for reporting the issue 🤗