Hey! I'm using `lakectl local` , i.e. my local dir...
# help
a
Hey! I'm using
lakectl local
, i.e. my local directory has a
.lakefs_ref.yaml
file in a directory that's linked to a corresponding lakefs repo, branch and commit. Sometimes i want to run
lakectl local checkout <path>
but I do not want it to overwrite untracked files in that directory. Is this something that is supported / on the roadmap? Similar to how git does not remove untracked paths when doing a git pull. I was able to do this by using
lakectl fs download <lakefs url> <path>
, so just wondering if its possible to implement with
lakectl local
as well. Thanks in advance!
o
Hey @Aayush Bhasin! Good question 🙂
lakectl local
currently doesn't support that - a
checkout
will match your local state with the remote one. Since unlike Git, there's no concept of a local "staging area", all files are tracked by default. I believe it's possible to support this - would you mind opening a feature request?
jumping lakefs 2
a
Thanks! Here it is - https://github.com/treeverse/lakeFS/issues/8279 Please let me know if I can provide more details
🙏 1