I have worked on my project for 3 days.
When I finished the first function, I wanted to put files into a git repo. So, I used git init.
and set up a remote repo. But I had to pull a readme file first. When the process is finished, everything in my local repo is gone. :(
My github repository has only a README file.
The command that I used are following:
git init
to my work repogit add *
git remote add origin https://github.com/username/repositoryname.git
git pull origin master
After that, I got the README file and all my local files are gone! Are there ways to get them back?