美文网首页
GIT 安装(centos7、包含自动补全)

GIT 安装(centos7、包含自动补全)

作者: lzp1234 | 来源:发表于2019-12-30 15:32 被阅读0次

前言

某些方式 git 安装后,不会自动补全,特此记录解决办法。

正文

  1. 安装 git
yum install git
  1. 安装 git 自动补全程序
yum install bash-completion
  1. 让自动补全程序生效
source /etc/profile.d/bash_completion.sh
  1. 免密(在输入过一次用户名、密码后,自动记录)
git config --global credential.helper store

相关文章

网友评论

      本文标题:GIT 安装(centos7、包含自动补全)

      本文链接:https://www.haomeiwen.com/subject/ftdmoctx.html