Tutorial: How to Optimize Git Download Speed
Due to well-known reasons, our access speed to GitHub is very unstable, sometimes fast and sometimes slow, and occasionally we cannot connect at all. This causes issues when trying to clone git projects on the HyperAI platform, or results in extremely slow speeds. We are currently actively researching viable solutions. Before the final solution is available, you can temporarily resolve this using the following method:
-
First, go to Gitee and register for a free account.
-
Find the GitHub project you need to clone, for example the
avinashpaliwal/Super-SloMosuper slow motion project. -
Find the corresponding project link
https://github.com/avinashpaliwal/Super-SloMoand copy it to your clipboard. -
Switch to Gitee, click the "+" sign in the upper right corner, and select "Import repository from GitHub / GitLab".
-
On the import interface, paste the GitHub link into "Git Repository URL".
At this point, you may see a prompt, for example:
A public synchronized repository has been detected on Gitee for the repository you are importing.
If you see such a prompt, it means someone has already imported it before. In this case, you can directly use the link imported by the previous user to replace the GitHub link for cloning. If you're concerned that the content imported by other users might be deleted in the future, you can also manually choose to import it under your own account.
If you choose to import to your own account, you need to check "Public" in the open source option below, then click import.
- After the import is complete, you can directly use the Gitee link to replace the original GitHub link for cloning, achieving acceleration.