[Git] Install bash auto completion



1. Copy git-completion.bash

Rename the file as git-completion.sh
and paste to your home directory. (~/)

2. Install Bash Complete


brew install bash-completion

echo "" >> ~/.bash_profile
echo "#Git Completion" >> ~/.bash_profile
echo ""[ -f ~/.git-completion.sh ] && . ~/.git-completion.sh" >> ~/.bash_profile

Git Bash Completion

You can using 'TAB' for auto completion now!




歡迎您留言與分享!(Welcome for comments or sharing!)

Related Post:

Tagged on: