gittfsgit-tf

Can I resume a git tf clone?


I have a very large code in TFS and I have to clone it along with all previous history, so it takes more than 10 hours to clone.

Due to the connectivity issue, the cloning gets interrupted and I am unable to complete the clone.

Is there a way to pause and resume the cloning process. I checked everywhere, but I see only articles about resuming git tfs clone, but I need to resume git tf clone.

I am using the below command to clone.

git tf clone "Server_URL" "Server_folder_path" "Local_folder_path" --deep

Here is the screenshot Image


Solution

  • I am afraid that the Git tf clone doesn't support to resume.

    Since Git-TF has reached its end-of-life, there are few documents related to it.

    So I run the Git-tf clone --help to check the supported arguments, and the arguments don't support the recovery feature.

    Supported arguments

    If you want to resume the clone process, you could try with Git-TFS tool instead of git-tf.

    In Git-tfs, you could add --resumable argument and resume the git tfs clone.

    Here is a doc about the Git tfs clone.

    Hope this helps.