OK. I was deleting precompiled assets in my public/assets folder. I accidentally deleted an entire folder I had in there as well. I checked out a repository and started webrick and the files seem to be loading, although when I look in the directory they aren't there? how do i restore/move those files back into the public/assets directory?
preguntado el 08 de noviembre de 11 a las 19:11
If you haven't commited the deletion. Check the changes that are pending with
git status y use
git checkout to restore a file to its last commited state ( HEAD ):
git checkout -- file_path
Git works on files not on directories.