This topic created in 4941 days ago, the information mentioned may be changed or developed.
就是在git 的项目目录里面 把a.cc 删除了
想要重新拉一份a.cc回来 怎么弄?
7 replies • 1970-01-01 08:00:00 +08:00
 |
|
git checkout 那个老的commit_hash 文件名 试试
|
 |
|
重新git clone...
|
 |
|
git fetch -all
|
 |
|
嗯 是误删了 working directory里的吗? git checkout -- 文件名
我还以为是git rm了呢
|