I work on a project and I have a problem on my mac. After merging my branch into the main branch by the supervisor I pulled the git project with
§ git pull
After that I did
§ git status
and I recognized that there is a new file named ".DS_Store"
As I read on the internet to delete this file I used this command:
§ find . name '.DS_Store' -type f -delete
but unfortunately, all files in my git directory are deleted !!!!
if I type
§ ls -a
I got only the ".git" file!
Now, if I type
§ git status
I got a list of random files from random locations on my computer as Change to be committed and another list as Change not staged for commit and a list as Untracked files
Please help I have to get rid of this problem!