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

lakectl local checkout to a new branch in a local directory #8361

Open
HMJiangGatech opened this issue Nov 12, 2024 · 1 comment
Open

lakectl local checkout to a new branch in a local directory #8361

HMJiangGatech opened this issue Nov 12, 2024 · 1 comment
Labels
bug Something isn't working contributor feature-request good first issue Good for newcomers P2

Comments

@HMJiangGatech
Copy link

I have already clone the branch-a to a local directory using lakectl command. Then I created a new branch named 'branch-b', I want to also switch the local directory to track the branch-b.

I tried
lakectl local checkout -r lakefs://repo-name/branch-b/, and it runs a diff saying No changes. The local directory is still tracking the branch-b.

I was able to change the local branch by modifying .lakefs_ref.yaml directly. But I it makes sense to do it with lakectl command directly, just like the git checkout -b branch-b command.

@talSofer talSofer added bug Something isn't working good first issue Good for newcomers labels Nov 21, 2024
@talSofer
Copy link
Contributor

This bug may happen when branch-a and branch-b are the same

@talSofer talSofer added the P2 label Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working contributor feature-request good first issue Good for newcomers P2
Projects
None yet
Development

No branches or pull requests

2 participants