git - How to undo pull deleted local files which have never been committed? -
i have worked on project 3 days. when finished first function, wanted put files git repo. so, used git init.
, set remote repo. had pull readme file first. when process finished, in local repo gone. :(
my github repository has readme file.
the command used following:
git init
work repogit add *
git remote add origin https://github.com/username/repositoryname.git
git pull origin master
after that, got readme file , local files gone! there ways them back?
Comments
Post a Comment