How to configure git bash command line completion?

前端 未结 12 1440
猫巷女王i
猫巷女王i 2020-11-28 18:50

E.g. on a fresh ubuntu machine, I\'ve just run sudo apt-get git, and there\'s no completion when typing e.g. git check[tab].

I didn\'t find

12条回答
  •  日久生厌
    2020-11-28 19:43

    See https://github.com/git/git/blob/master/contrib/completion/git-completion.bash

    You just need to source the completion script

提交回复
热议问题