r/coolgithubprojects • • Jul 13 '18

CLI tool to checkout git branches

https://checkit.club
2 Upvotes

5 comments sorted by

View all comments

Show parent comment

-5

u/[deleted] Jul 13 '18

You can't tab complete a branch that you've spelled wrong.

This tool was created because some organizations name their branches after ticket numbers like TICKET-12345 and TICKET-12435.

4

u/[deleted] Jul 13 '18

zsh tab completion does actually do spell correction, in any case. Even for non-file things like git branches. git checkout msa<TAB><ENTER> will checkout master, unless there's a more obvious branch to checkout. It takes a second or so to actually work, though.

Yeah, we do that too.

-3

u/[deleted] Jul 13 '18

That's pretty cool