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.
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 thebranch-b
.I tried
lakectl local checkout -r lakefs://repo-name/branch-b/
, and it runs a diff sayingNo changes
. The local directory is still tracking thebranch-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 thegit checkout -b branch-b
command.