问题描述:

I am trying to remove a dir from the remote git repository. However, when I do:

$ git rm --cached QTNNSimplePredictTensorflowDataGen_HLD_240_DOI_1_PG_1_WD_0.0_SOT_allpair_20150701_20160630_TE_442_DOR_0.09_AF_sigmoid

fatal: pathspec 'QTNNSimplePredictTensorflowDataGen_HLD_240_DOI_1_PG_1_WD_0.0_SOT_allpair_20150701_20160630_TE_442_DOR_0.09_AF_sigmoid' did not match any files

I get a fatal error. Any idea?

$ ls

QTNNSimplePredictTensorflowDataGen_HLD_2000,2000_DOI_2_PG_1_WD_0.0_SOT_allpair_20140101_20151231_TE_443_DOR_0.02_AF_sigmoid

QTNNSimplePredictTensorflowDataGen_HLD_240_DOI_1_PG_1_WD_0.0_SOT_allpair_20140101_20151231_TE_442_DOR_0.09_AF_sigmoid

QTNNSimplePredictTensorflowDataGen_HLD_240_DOI_1_PG_1_WD_0.0_SOT_allpair_20150701_20160630_TE_442_DOR_0.09_AF_sigmoid

网友答案:

It's caused you have removed it in git version control.

You can use git status find it. Just delete it directly in your working directory.

相关阅读:
Top