Gitを使い始めたらやっておきたい便利な設定いろいろ : アシアルブログ
bashのプロンプトにブランチ名を表示する際、上記エントリの情報だと古くてエラーになる。
-bash: __git_ps1: command not found
bash_completionで「-bash: __git_ps1: command not found」となった時の対処法 – くりにっき
こっちも参考にしつつ
git/contrib/completion/git-prompt.sh at master · git/git · GitHub も入れればOK
コメント