I have accidentally deleted all stylesheet files of my website.
I'm using git but I don't push changes to any repo. I just make commits on my development copy. So there is no repo to checkout from.
So what I did was, I had a backup copy of my site (it's old and doesn't contain all the files) so manually copy pasted all the stylesheet files to my development copy.
Is there any way to restore all that's gone?
.gitfolder, do a checkout and you'll get it all back. (You need to be very careful when doing a "copy and paste" restore that you don't overwrite that hidden folder!)git statusto determine which these are. Then do the checkout above.git fetch, download and merge isgit pullwhich is a serial combination ofgit fetchandgit merge. See man page.