Aayush Bhasin
10/10/2024, 9:27 PMlakectl 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!Oz Katz
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?Aayush Bhasin
10/11/2024, 9:25 PM