Skip to content

Instantly share code, notes, and snippets.

@hamjin
Last active April 29, 2024 09:02
Show Gist options
  • Save hamjin/35cebc08b9816778be956e2bcc4df95a to your computer and use it in GitHub Desktop.
Save hamjin/35cebc08b9816778be956e2bcc4df95a to your computer and use it in GitHub Desktop.
Faster repo sync
repo init -u https://mirrors.tuna.tsinghua.edu.cn/git/AOSP/kernel/manifest -b common-android12-5.10 --git-lfs --repo-url='https://mirrors.tuna.tsinghua.edu.cn/git/git-repo' --no-tags --current-branch --depth=1
repo sync -j1 --force-sync --fail-fast --no-tags --current-branch -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment