Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8339709
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T04:57:17+00:00 2026-06-09T04:57:17+00:00

I have accidentally deleted all stylesheet files of my website. I’m using git but

  • 0

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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T04:57:18+00:00Added an answer on June 9, 2026 at 4:57 am

    If you ever added and committed the files into your development Git repository you can go back in history via git checkout HASH. This command will load all files with the state at the time of the HASH into the working directory. You can also pick specific files at a specific state; try git checkout HASH -- filename. If you accidently removed a commit that contains the relevant files you can lookup the total history of all Git actions via git reflog and kind of “revert” the state of your repository. In any cases make a copy of your repository before you start!

    If you never added the files to the repository you can use one of the file system tools to undelete the files. The application choice depends on the operating system you use.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I accidentally deleted a few files from my local git repo. I have not
I accidentally deleted some rows from the database. But I already have daily database
I have accidentally committed the .idea/ directory into git. This is causing conflicts everywhere
This was working last night, but I must have accidentally changed something, because it
Accidentally I have been using a @synchronized block with the semaphore self in a
I accidentally deleted some builds for a job that I would have rather kept.
Someone (other than myself) accidentally deleted files in TFS and checked it in. He
.NET newbie alert Using Visual C# 2008 Express Edition I have accidentally created a
I accidentally deleted my gen folder and now, predictably, my resources are all messed
This is rather embarrassing, but I accidentally deleted my Windows account from the list

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.