4
I have a script on my production server that automates the entire process of checking new commits, generating the build and publishing the new changes.
It works perfectly with open repositories running code:
git clone -b meu-branch http://minha-url-repo.git
The problem is that in private repositories, when running the above command the terminal always returns a prompt asking for the repository access password. What causes the process to stop being automated (since someone would need to write the password).
Is there any way to pass the user and password next to the command git clone
so that this command ran 100% automated?
Note: The user and password would be used readonly for security reasons, and the server is restricted.