我命由我,不由天!


  • 搜索
prometheus docker golang linux kubernetes

gitlab配置http的免密推拉

发表于 2020-11-07 | 0 | 阅读次数 336
  1. 进入~(用户)目录
    cd ~

  2. 建立文件  .git-credentials,
    touch  .git-credentials

  3. 编辑文件  .git-credentials,
    vi  .git-credentials

  4. 添加http://用户名:密码@gitlab.com
    注:这里gitlab.com 可换成自己公司的私有云gitlab地址

  5. 执行命令:
    git config --global credential.helper store

  6. 查看文件:more .gitconfig,可以看到如下信息,设置成功。

  • 本文作者: Dante
  • 本文链接: https://gaodongfei.com/archives/gitlab-no-secret-push
  • 版权声明: 本博客所有文章除特别声明外,均采用CC BY-NC-SA 3.0 许可协议。转载请注明出处!
安装openresty的相关依赖包
nginx服务器注意
  • 文章目录
  • 站点概览
Dante

Dante

119 日志
5 分类
5 标签
RSS
Creative Commons
0%
© 2023 Dante
由 Halo 强力驱动
|
主题 - NexT.Pisces v5.1.4
沪ICP备2020033702号