fabriziocucci / git-bash-for-mac

Git Bash for Mac
252 stars 67 forks source link

git checkout auto-completition not working #8

Open demedos opened 5 years ago

demedos commented 5 years ago

Hello, thanks for this awesome tool, it really helps the switch from Win to OSx. The only problem I've found is that when typing git chec and then hitting tab results is unknow optionerror

Thanks

jhercher commented 5 years ago

same here, any hints are highly appreciated

demedos commented 5 years ago

git reb + tab is not working either during a rebase, to write something like git rebase --continue

fabriziocucci commented 5 years ago

Sorry for the delay guys, I'll give it a try with a fresh installation today to replicate the problem.

The one I have right now seems to be working just fine:

screenshot 2019-03-01 at 10 40 51
Driklyn commented 5 years ago

Check your git version. I am running 2.17.2 and ran into this issue.

The solution is to upgrade git to 2.18+ or downgrade the git-completion.bash and git-prompt.sh scripts to the version number that matches your current git version.

Read this post for more.

jhercher commented 5 years ago

Thanks @Driklyn! After upgrading git to 2.21.0 auto-completion is in effect 🚀

demedos commented 2 years ago

This should be fixed with https://github.com/fabriziocucci/git-bash-for-mac/pull/17