Background: If you create a project address http://git.ops.test.com.cn/root/puppet.git
.
Solution: If you have already done git clone http://git.ops.test.com.cn/root/puppet.git
, you can enter puppet directory, modify .git / config in url = http://账号:密码@git.ops.test.com.cn/root/puppet.git
before submitting found not to enter the password;
Directly in the warehouse or directly clone the time git clone http://账号:密码@git.ops.test.com.cn/root/puppet.git
, you do not need to enter a password so that the next submission.
Original Address: http://peiqiang.net/2016/07/06/how-to-use-gitlab-http-push-your-code-without-enter-password.html