Is it possible to resume download on single file.
- From
- tao lv <thebookofunknowable@gmail.com>
- Date
- Sep 3, 2024, 14:00 UTC
- Message-ID
- <CAFePT4wau_YG-3wOs94YrJ42im+x=Tp98Fu6vBJUG7pVDviO0Q@mail.gmail.com>
Hi:
Is it possible to resume a broken transfer on a per-file basis in Git? I am currently using git version 2.44.0.windows.1 (Git for Windows). Due to poor connection between my workplace and GitHub, cloning projects often fails. Therefore, I often operate through the following process: (the repository is chosen as git only for example)
``` git clone --no-checkout --depth=1 --filter=blob:none https://github.com/git/git cd git git checkout HEAD -- "*" ```
This allows me to download Git files one by one. However, sometimes a single file in the remote repository may be too large, causing even this method to fail to download all repository contents. So, I want to know if it is possible to resume transfers when downloading Git files? Or will this feature be added to git in the future?