본문 바로가기

Android

osx 에서 git branch 를 tab 으로 자동 생성하기

http://apple.stackexchange.com/questions/55875/git-auto-complete-for-branches-at-the-command-line

1. File Download
curl https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash -o ~/.git-completion.bash

2. .bash_profile 수정
if [ -f ~/.git-completion.bash ]; then
. ~/.git-completion.bash
fi