Git - deleted some files locally, how do I get them from a remote repository

前端 未结 6 1246
星月不相逢
星月不相逢 2020-12-22 20:42

I\'ve deleted some files on my PC, how do I download them again?

Pull says: \"Already up-to-date\".

6条回答
  •  天涯浪人
    2020-12-22 21:13

    Also, I add to do the following steps so that the git repo would be correctly linked with the IDE:

     $ git reset 
    
     $ git checkout 
    

    I hope this was helpful!!

提交回复
热议问题