2015-06-09 12 views
0

高达1.9.4 git Bash在点击标签时会自动完成模糊,然后让我完成剩下的工作(对于分支,标签等)。从1.9.5(版本1.9.5-preview20141217)开始,它会向我展示可能的分支/标签等列表,并让我选择。我非常喜欢以前的行为,因为它为我节省了屏幕/日志资产。不知何故这种变化是可以恢复的,还是我可以设置一个偏好?Msysgit git Bash自动完成行为的变化

例子:

[email protected] /c/Dropbox/eclipse_workspaces/python/wrye-bash (utumno-163-wip) 
$ git rebase --interactive --onto dev dev utu # <-- hit tab, boom: 
utumno-163-wip   utumno-74-wrap   utumno-liblo-6-support 
utumno-195    utumno-cProfile-wip  utumno-parerga 
utumno-6     utumno-liblo-6   utumno-wip 

我想看到的是:

$ git rebase --interactive --onto dev dev utu # <-- hit tab, ta-dah: 
$ git rebase --interactive --onto dev dev utumno- 
+0

[本答案](http://superuser.com/a/918422/355021)的绑定命令适用于我,我把它放在我的〜/ .profile文件中。 – colinD

+0

@ColinDelhalle:我在windows上,所以我需要在我的用户\用户\ .bash_profile文件中将'bind'设置为'show-all-if-ambiguous off'',但这确实有窍门!请张贴它作为答案 –

回答

0

this answer描述,把bind 'set show-all-if-ambiguous off'在我的〜/ .profile文件的伎俩我。