[git]git命令行自动补齐

1. 下载Git-completion.bash
【[git]git命令行自动补齐】github地址:https://github.com/markgandolfo/git-bash-completion.git
2. copy到用户根目录~/
cp git-completion.bash ~/.git-completion.bash
3. 使之生效
source ~/.git-completion.bash
4. 修改~/.profile
增加
source ~/.git-completion.bash
[git]git命令行自动补齐
文章图片

转载于:https://www.cnblogs.com/iiiiher/p/6598289.html

    推荐阅读