Brendan Miller05/07/2023, 12:23 AM
I would expect this to create a copy of the old branch. Instead, it seems to create a new branch which is empty. If I point my application at the new branch it can’t find any data in it. I’m brand new to lakefs, so maybe I’m not understanding some basic concept here. I assumed it worked like git, where if you branched off of an existing branch, the new branch would have identical contents to the old one initially. Instead it seems like they start off empty?
lakectl branch create <lakefs://dataset/new_branch> --source <lakefs://dataset/old_branch>
Niro05/07/2023, 12:31 AM
Brendan Miller05/07/2023, 12:49 AM
Niro05/07/2023, 12:52 AM