Git upgrade (resolve gitlab-runner execution error)
Scenario: gitlab-runner reports the following error during execution
Query shows that it is caused by the low version of git: the default version of centos7 is 1.8, which is upgraded to version 2.x.
# upgrade command curl https://setup.ius.io/ | shyum remove-y gityum-y install git2uyum install gitlab-runner-y [root@admin ~] # git versiongit version 2.16.5
Note: when you uninstall git, you can uninstall gitlab-runner; and reinstall gitlab-runner at the same time. Previous registration will not be affected.