$ mkdir ~/bin
$ vim ~/.bashrc
add PATH=~/bin:$PATH to the end of ~/.bashrc
$ curl http://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
$ chmod a+x ~/bin/repo
If connect to time out, please modify to REPO_URL as following:
REPO_URL = 'https://github.com/novelinux/git-repo'
$ repo init -u [email protected]:miot-business-like/golang/manifest.git -m openplatform-go-projects.xml