Dependence
Install git 2.10.0 or above before install/running git-repo
.
Download and Install git-repo
-
Download the latest release of
git-repo
from: 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-repo
executable before install on Linux or macOS:$ chmod a+x git-repo
-
Move
git-repo
into an executable PATH (e.g.,/usr/local/bin
for Linux or macOS,C:\Windows\system32
for Windows):$ sudo mv git-repo /usr/local/bin/