You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I have origin/foo-branch but not foo-branch I can do this:
myrepo master@ checkout foo-branch
Branch 'foo-branch' set up to track remote branch 'foo-branch' from 'origin'.
Switched to a new branch 'foo-branch'
I'd like to be able to do the same thing but with tab completion.
myrepo master@ checkout foo-[[mash that tab key]]
Branch 'foo-branch' set up to track remote branch 'foo-branch' from 'origin'.
Switched to a new branch 'foo-branch'
The text was updated successfully, but these errors were encountered:
@chris-perts Great suggestion, thanks! We should definitely add this to the tab completion system.
In the meantime, you can tab complete the full remote branch name with checkout -t, so something like checkout -t origin/foo-branch could be tab completed with checkout -t or<tab>foo<tab>, which might be quicker than typing out checkout foo-branch.
If I have
origin/foo-branch
but notfoo-branch
I can do this:I'd like to be able to do the same thing but with tab completion.
The text was updated successfully, but these errors were encountered: