- Descargar parche
git clone https://gitlab.com/xhang/gitlab.git
Puede haber un -bash: git: command not found
problema, la
solución ejecuta el comando: yum install -y git
2. Ingrese gitlab: cd gitlab
3. Verifique la versión: git branch -a
4. Genere un parche correspondiente a su versión: La mía es 10.0.0 así que es:
git diff remotes/origin/10-0-stable remotes/origin/10-0-stable-zh > /tmp/10.0.0-zh.diff
5. Detenga el servicio: gitlab-ctl stop
6. Parche: patch -d /opt/gitlab/embedded/service/gitlab-rails -p1 < /tmp/10.0.0-zh.diff
7. Configuración y reinicio:
gitlab-ctl reconfigure
gitlab-ctl start