I have a problem with a git repository. I will describe what I did.
git init
git add origin git @ ...
git pull origin master
what override my files, files with an empty repositoryIs there any way to restore my files?
a git pull is a fetch and a merge so is reversable for security checkout a new branch:
git checkout -b restore
then go back with
git reset --hard HEAD^