error: Sparse checkout leaves no entry on working directory
问题 First, let me tell you that I have already checked all the similar threads and searched google to find what the problem may be, but no success. My problem is that I'm trying to use sparse checkout in git, but I get this error: error: Sparse checkout leaves no entry on working directory I have this 60GB repository, which I need to clone. I need only a part of it, so to save a disk space I wanted to use sparse checkout. This is what I do: mkdir repoDir git init repoDir cd repoDir git remote add