I was cloning a Git repository when suddenly my internet connection failed. So the download was stopped and about 50% of total files was downloaded.

However I cannot continue the download. If I try to do some Pull/Fetch, Git prompts "fatal: destination path '' already exists and is not an empty directory.". The only way that I found was deleting destination folder and download from beginning.

Are there any way to perform an operation to continue the download from the point it was stopped?

I'm using Git on Windows (through installed TortoiseGit- + Git-


The Restartable clone feature was part of the Google Summer of Code 2009 ideas for git - in the "Projects So Large Your Head Will Spin" section. However, I'm not aware of an implementation.



  1. git init
  2. git add .
  3. git remote add master ssh://user@server:/GitRepos/myproject.git
  4. git pull

It worked for me, but I don't know if it's in the "correct" state or if it actually refetched all the files anyway.

It basically creates a blank repo, adds all existing files to it, then add's the master remote, then pulls in the files.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.