I'm using this answer on "how to disable git checkout auto-complete" (specifaclly, using the --no-guess part, as the export didn't seem to work.)
I have a .gitconfig file with the following entry:
[alias]
co = checkout
and so, when I use git co it works ok:
git co <TAB>
Display all 1417 possibilities? (y or n)
and when using git co --no-guess :
git co <TAB>
Display all 738 possibilities? (y or n)
- Does that mean I already have 738 local branches? If so, how can I remove unwanted branches from?
- when changing the alias in my .gitconfig to
co = checkout --no-guessit continues to work as before (i.e. only adding'--no-guess'explicitly aftergit codoes the trick. why is that?
Seems to be a git bug... is it?