I’m experimenting with `lakectl local` and ran int...
# help
t
I’m experimenting with
lakectl local
and ran into a problem during branch checkout - I first cloned my repo with -
Copy code
lakectl local clone <lakefs://tal-samples/main/>
Then, I created branch b1 on my repo, and tried to track it locally with
Copy code
lakectl local checkout . --ref b1
I’m getting the following error
Copy code
ref malformed lakefs URI
Error executing command.
Can you please help understanding the problem?
n
Hi @Tal Sofer you need to provide a full ref URI. e.g.
lakefs://<repo-name>/<ref-name>
Also, please note that initally you have cloned a branch to your local env. In that case the behavior will be a bit strange since that path will always be looking at the main branch as source
t
Thanks @Niro. How do I check that checkout worked? is this using
lakectl local status
?
n
lakectl local list <data_path>
will provide you with the head the current path is pointing to if I remember correctly 🙂