余瑜的博客 余瑜的博客
首页
  • 并发
  • 线程池
  • spring
  • maven
  • 其他
  • redis
  • mysql
  • linux
  • zookeeper
  • docker
  • terminal
  • kong插件开发
  • 资料
  • leetCode-简单
  • blog
  • 其他
关于
GitHub (opens new window)
首页
  • 并发
  • 线程池
  • spring
  • maven
  • 其他
  • redis
  • mysql
  • linux
  • zookeeper
  • docker
  • terminal
  • kong插件开发
  • 资料
  • leetCode-简单
  • blog
  • 其他
关于
GitHub (opens new window)
  • linux

  • zookeeper

  • docker

  • terminal

    • iTerm个性化设置
    • item2免密ssh登录
    • git配置sshkey
    • git免密
      • 配置
    • github拉取代码慢问题
  • kong插件开发

  • 运维
  • terminal
余瑜
2021-01-20
目录

git免密

# 配置

使用 git credential.helper 插件配置 http 请求用户名密码:

git config --global credential.helper store -file=.git_credentails
echo 'http://用户名:密码@icode.baoshiyun.com' > ~/.git-credentials
1
2

配置后 git 请求 github 时会自动从 ~/.git-credentials  这个文件中读取, 不需要再次输入用户名密码

上次更新: 2021/02/20, 19:26:07

← git配置sshkey github拉取代码慢问题→

Theme by Vdoing | Copyright © 2018-2022 逆光世间 | 备案号: 京ICP备19016086号
  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式