git-bash-for-mac icon indicating copy to clipboard operation
git-bash-for-mac copied to clipboard

git checkout auto-completition not working

Open demedos opened this issue 6 years ago • 6 comments

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 option error

Thanks

demedos avatar Feb 22 '19 13:02 demedos

same here, any hints are highly appreciated

jhercher avatar Feb 28 '19 10:02 jhercher

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

demedos avatar Mar 01 '19 09:03 demedos

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

fabriziocucci avatar Mar 01 '19 10:03 fabriziocucci

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.

Driklyn avatar Mar 22 '19 20:03 Driklyn

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

jhercher avatar Mar 25 '19 17:03 jhercher

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

demedos avatar Mar 18 '22 23:03 demedos