How can I set up autocompletion for Git commands?

后端 未结 9 1422
挽巷
挽巷 2021-01-31 07:37

I have Git (version 1.7.2.5) bash compeletion working on my Debian squeeze (6.0). Git was installed with aptitude and I am using standard debian\'s bash, which supp

9条回答
  •  遇见更好的自我
    2021-01-31 08:37

    For Ubuntu/Debian

    Install Git and bash-completion by the following command:

    sudo apt-get install git bash-completion
    

    I don't think you need to do anything else.

提交回复
热议问题