Dependence
Install git 2.10.0 or above before install/running git-repo.
Download and Install git-repo
-
Download the latest release of
git-repofrom: https://github.com/alibaba/git-repo-go/releases.Choose the proper package according to your OS (Linux, Mac, or Windows) and architecture (amd or 386), download and extract the package.
-
Make
git-repoexecutable before install on Linux or macOS:$ chmod a+x git-repo -
Move
git-repointo an executable PATH (e.g.,/usr/local/binfor Linux or macOS,C:\Windows\system32for Windows):$ sudo mv git-repo /usr/local/bin/