git table无法自动补全问题

git  tab键无法补全

原因:直接安装的git 缺少配置文件

解决步骤办法:1.下载配置文件 git clone git://git.kernel.org/pub/scm/git/git.git

       2.cp git/contrib/completion/git-completion.bash ~/.git-completion.bash

       3.把这句话生效的命令添加到.bashrc里  source ~/.git-completion.bash

         4. sourch  .bashrc  

搞定

原文地址:https://www.cnblogs.com/asreg/p/7199960.html