Ariel Shaqed (Scolnicov)
04/12/2023, 2:39 PMFirst, 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
--base-uri
flag of lakectl
. Taking it one step further, you can set the environment variable LAKECTL_BASE_URI
and all relative locations you give lakectl will be relative to that branch or repo (or even a deeper prefix).