We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
如果事先没有安装homebrew,执行命令
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install bash-completion
cd ~ nano .bash_profile
将下面的语句添加到.bash_profile
source ~/.git-completion.bash if [ -f $(brew --prefix)/etc/bash_completion ]; then . $(brew --prefix)/etc/bash_completion fi
保存后重启terminal即可。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
mac配置git自动补全
安装homebrew
如果事先没有安装homebrew,执行命令
安装 bash-completion
修改 ~/.bash_profile
将下面的语句添加到.bash_profile
保存后重启terminal即可。
The text was updated successfully, but these errors were encountered: