[Git] Install bash auto completion

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

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!

發佈留言