How do I pull missing file back into my branch

前端 未结 4 1333
甜味超标
甜味超标 2021-02-01 14:01

I have cloned git project into local git repository. Then I have done something nasty to one of the files and in that panic I deleted file physically from drive (rm style.

4条回答
  •  太阳男子
    2021-02-01 14:20

    Go to the location of style.css (may be app/css/ )using console otherwise there will be pathspec error.

    then execute :

    git checkout origin/master style.css

提交回复
热议问题