环境
When syncing multiple repositories over HTTPS connection using the Repo tool, git will prompt for a username and password every time a repository is being cloned. This can be avoided by storing the credentials in the git’s credential system or .netrc file.
操作
To store credentials in a .netrc file, add the following lines below in the .netrc file:
machine git.codelinaro.org
login <username>
password <token>