Git 자동완성

Jmnote (토론 | 기여)님의 2025년 9월 17일 (수) 17:55 판 (새 문서: ==개요== ;Git 자동완성 * Git 자동완성 스크립트 받기 <syntaxhighlight lang='bash'> curl https://raw.githubusercontent.com/git/git/master/contrib/completion/git-complet...)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

개요[ | ]

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 }}