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:

  1. git init work repo
  2. git add *
  3. git remote add origin https://github.com/username/repositoryname.git
  4. git pull origin master

after that, got readme file , local files gone! there ways them back?


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

image - ClassNotFoundException when add a prebuilt apk into system.img in android -