I am very new to git, I am using Ubuntu terminal to perform git actions. After creating a git repository I executed the below commands
mkdir project
cd project
git init
then I copied all the files to project directory and executed
git add -A
git commit
git push origin master
Everything looks fine but it deleted all the files from my project directory.!! But all the files are safe in the server under master tag!!
Then I tried git pull origin master
it says
* branch master -> FETCH_HEAD
Already up-to-date.
Whats wrong with my steps? How can I pull the files?