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?
OK. I was deleting precompiled assets in my public/assets folder. I accidentally deleted an
Share
If you haven’t commited the deletion. Check the changes that are pending with
git statusand usegit checkoutto restore a file to its last commited state ( HEAD ):git checkout -- file_pathGit works on files not on directories.