To set git username and password, use the following commands. $git config --global user.name "Your Name" |
Issue: While trying to do a repository initialization, the user will be prompted for a password. Example console log: Password for 'https://code.rdkcentral.com': remote: Unauthorized fatal: Authentication failed for 'https://<username>@code.rdkcentral.com/r/manifests/' Possible reasons and solutions:
Update the credentials in $HOME/.netrc file, a sample of the file is given below .netrc machine code.rdkcentral.com login <user-name> password <Password> |
Issue: In few incidents, the user may not be having the required permission to download the code although having a valid combination of username/password combination. Example console log: Username for 'https://code.rdkcentral.com': rdknewuser Password for 'https://rdknewuser@code.rdkcentral.com': fatal: remote error: Service not enabled fatal: cannot obtain manifest https://code.rdkcentral.com/r/manifests Approach RDK support with the necessary approval to get the requested privilege. |