We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is there a way to checkout a file from another branch?
Similar to the example in this blogpost:
git checkout feature/B -- utils.js
The closest I can seem to find is git_branch_checkout(), but that checks out the whole branch, not just one file.
git_branch_checkout()
The text was updated successfully, but these errors were encountered:
file
git_reset_*()
No branches or pull requests
Is there a way to checkout a file from another branch?
Similar to the example in this blogpost:
The closest I can seem to find is
git_branch_checkout()
, but that checks out the whole branch, not just one file.The text was updated successfully, but these errors were encountered: