Git 자동완성

개요[ | ]

Git 자동완성
  • Git 자동완성 스크립트 받기
curl https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash -o ~/git-completion.bash
  • 쉘 설정 파일에 자동완성 스크립트 추가
vi ~/.bashrc
###
if [ -f ~/git-completion.bash ]; then
    source ~/git-completion.bash
fi
  • 터미널 재시작 후 테스트
$ git chec<tab>
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}