Help! In the last months, I created several Git repositorys and pushed them to Codeberg (Gitea). Now, I realized that Git deleted ALL my files on my local machine!
The repository folders are still there but they're empty! All subfolders are still there too but also empty. I checked the respective .git folders but they're empty too. When I type git status
Git says:
fatal: not a git repository (or any of the parent directories): .git
Why did that happen? I didn't change ANYTHING for months. Did this happen because I logged into another Gitea account to create other repositories? Can Git handle multiple accounts or just one?
Pretending that I haven't pushed my repos to Codeberg: Is there any way to recover my files?
I don't know what to do, please help! Thank you!
edit: So I checked Windows 10's Recycle Bin and voilà: All Git files had been deleted last month but I hadn't noticed anything... Might the problem be that my PC's internal hard drives are nearly full? But all Git repos are stored on an external drive...