windows - Disable auto-completion of remote branches in Git Bash? -



windows - Disable auto-completion of remote branches in Git Bash? -

i'm working on big git repo couple of one thousand (remote) branches. used using auto-completion (using [tab]) in console (git bash in case), unconsciously git commands, too.

e.g. i'd type

git checkout task[tab]

with effect console stalls minutes. there way limit auto-completion local branches only?

you can hack /etc/bash_completion.d/git

you'll need edit __git_refs ()

note alter in behaviour apply every (so git push/pull might not want to). of course, create re-create of function or pass parameter, leave you

windows git

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -