Git sparse checkout error “Entry 'path/to/file' not update. Cannot update sparse checkout”
问题 I've just done a sparse checkout following the steps below git clone http://location/repo.git # create .git/info/sparse-checkout file git config --bool core.sparsecheckout true git read-tree -mu HEAD Unfortunately the final step fails with the error message Entry 'path/to/file' not update. Cannot update sparse checkout Which is strange because (1) path/to/file exists (2) the sparse checkout process succeeded on another machine git version 1.7.1 (Centos 6). The current machine is a Centos 7