Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git checkout autocomplete is showing files #966

Closed
luisrudge opened this issue May 27, 2016 · 1 comment
Closed

git checkout autocomplete is showing files #966

luisrudge opened this issue May 27, 2016 · 1 comment

Comments

@luisrudge
Copy link

c:\git\oss\spectacle-editor (master) (spectacle-editor@0.0.1)
λ git checkout ma [TAB] [TAB]
main.development.js  master

main.development.js is a file, master is a branch. It should show only master

@vladimir-kotikov
Copy link
Contributor

vladimir-kotikov commented May 27, 2016

It works as intended - see https://git-scm.com/docs/git-checkout

git checkout [-p|--patch] [<tree-ish>] [--] <pathspec>…​
When or --patch are given, git checkout does not switch branches. It updates the named paths in the working tree from the index file or from a named (most often a commit).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants