Skip to content

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

Description

@HMJiangGatech

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.

No activity

Activity on this issue will appear here.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions