branch with tagged commits. I create an
branch from one of those tags. There are more recent commits on
. I want to essentially cherry-pick one of those recent commits from
branch. What is the process for that? I'm most interested in avoiding copying the physical data, but I may have a use case where I want to use same commit ID if possible. From what I found, I think I can copy references to the data:1. Use the API to list files (
) at the LakeFS path on the commit I want to copy. 2. Use the API to
each file to get the physical address and other metadata. 3. Use the API to stage each file onto my
branch, using the physical address and other metadata retrieved from the stat operation. 4. Commit those staged changes. Does that sound right or is there a more preferred approach to this problem?
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.