Deleted all my files in the terminal with ”rm clean -f -d”
Would there be a way for me to retrieve my Home folder and all the files that were in it?
I was using Git for a project and was trying to transfer over my current work onto Github. I didn't know until after, but I accidentally initialized a repository on my Home folder. Then, while in the terminal, I used, ”git status” and it gave me a result of a list of files that we're marked red. Not crossing my mind, I looked up how to delete those files and found, ”rm clean -f -d” which I thought would only clear that status. Apparently, after executing the command it was loading a bunch of files inside the terminal and after it was complete. It was at that moment where I realized that I just wiped all of my folders and files and can't get them back.
The aftermath. I was logged out of my Apple ID. When I re-input the correct user name a password, it gives me a prompt message of:
”Keychain ’login’ cannot be found to store ’email@gmail.com’ -- ”Your keychain may have been removed, deleted, or it's on a unmounted volume”
It then gives me the option to, cancel, or Reset to Default. When I click on Reset to Default, it doesn't do anything.
How would I be able to retrieve my files/folder and sign back onto my MacBook using the Apple ID?
MacBook Pro 15", macOS 10.15