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
Source /usr/share/git/completion/git-completion.bash
in one of the bash startup files.
For example:
# ~/.bashrc
source /usr/share/git/completion/git-completion.bash
You may be able to find the script in other locations like /usr/share/bash-completion/completions/git
but these scripts did not work for me.