user
04/14/2022, 7:26 PMlakectl
CLI to create a new branch. Ive checked the the docs but Im having trouble running the following command
lakectl branch create <lakefs://demo-repo> -s <lakefs://demo-repo/upload>
Invalid branch: not a valid ref uri
Error executing command.
user
04/14/2022, 7:31 PM--source
(-s
) argument is the ref from which you are creating the branch.
For example, if you want to create a branch called feature
from your main
branch, run:
lakectl branch create <lakefs://demo-repo/feature> -s <lakefs://demo-repo/main>
user
04/14/2022, 7:33 PMuser
04/14/2022, 7:33 PMuser
04/14/2022, 7:35 PM<ref uri>
and the <branch uri>
in the documentation?
https://docs.lakefs.io/reference/commands.html#lakectl-branch-create
lakectl branch create <ref uri> [flags]
https://docs.lakefs.io/reference/commands.html#lakectl-branch-delete
lakectl branch delete <branch uri> [flags]
is the ref uri the tag without the branch specified <lakefs://demo-repo>
?user
04/14/2022, 7:40 PM<lakefs://demo-repo/main>
<lakefs://demo-repo/tag-name>
<lakefs://demo-repo/a1b2c3d4>
user
04/14/2022, 7:40 PMuser
04/14/2022, 7:41 PMuser
04/14/2022, 7:44 PMuser
04/14/2022, 7:48 PMuser
04/14/2022, 8:48 PMref uri / branch uri
to see if I could figure out what those were.user
04/14/2022, 8:52 PM