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

support checking out individual files #5102

Open
davidfirst opened this issue Nov 26, 2021 · 0 comments
Open

support checking out individual files #5102

davidfirst opened this issue Nov 26, 2021 · 0 comments
Assignees

Comments

@davidfirst
Copy link
Member

davidfirst commented Nov 26, 2021

Description

Currently, users can bit checkout components, but not individual files inside the component.
This is needed especially for binary files conflicts, where there is no way to edit the file and make decisions. By default, in case of conflicts, Bit keeps the existing binary file (unless --theirs was used). If a user chooses --manual to auto resolve-conflict and wants "theirs" binary file, it's not possible.

Describe the solution you'd like

I'd like to be able to run bit checkout latest comp-id --file button.ts

Describe alternatives you've considered

Coping the file manually.

Additional context

Asked by ranm8 .

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

No branches or pull requests

1 participant