欢迎来到尧图网

客户服务 关于我们

您的位置:首页 > 文旅 > 八卦 > MacOs 安装局域网 gitlab 记录

MacOs 安装局域网 gitlab 记录

2025/9/15 20:12:47 来源:https://blog.csdn.net/SSH_5523/article/details/113110125  浏览:    关键词:MacOs 安装局域网 gitlab 记录

1、安装git

brew install git
==> Downloading https://homebrew.bintray.com/bottles/git-2.7.0.el_capitan.bottle
######################################################################## 100.0%
==> Pouring git-2.7.0.el_capitan.bottle.tar.gz
==> Caveats
The OS X keychain credential helper has been installed to:/usr/local/bin/git-credential-osxkeychainThe "contrib" directory has been installed to:/usr/local/share/git-core/contribBash completion has been installed to:/usr/local/etc/bash_completion.dzsh completion has been installed to:/usr/local/share/zsh/site-functionsEmacs Lisp files have been installed to:/usr/local/share/emacs/site-lisp/git
==> Summary
🍺  /usr/local/Cellar/git/2.7.0: 1,407 files, 235.8M

2、配置git账户和生成token

git config --global user.name "programmer"
git config --global user.email "15020063781@139.com"ssh-keygen -t rsa -C "15020063781@139.com"

保存key的位置
/var/root/.ssh/id_rsa

3、配置gitlab

git config --global http.proxy http://192.168.43.232:1080

3、安装gitlab-ci-multi-runner

brew install gitlab-ci-multi-runner
==> Downloading https://homebrew.bintray.com/bottles/gitlab-ci-multi-runner-0.7.
######################################################################## 100.0%
==> Pouring gitlab-ci-multi-runner-0.7.2.el_capitan.bottle.1.tar.gz
🍺  /usr/local/Cellar/gitlab-ci-multi-runner/0.7.2: 4 files, 11.8M

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com

热搜词