Ariel Shaqed (Scolnicov)04/12/2023, 2:39 PM
First, is there a command to know the current branch ?A difference between Git and lakeFS is that lakeFS has no concept of a "current branch". It does not make sense on a datalake, as access to the lake itself is distributed among machines. So if you look at lakectl commands they all take a lakeFS path. You might be able to do something similar using the
. Taking it one step further, you can set the environment variable
and all relative locations you give lakectl will be relative to that branch or repo (or even a deeper prefix).