'git lfs lock' on a file not tracked by LFS #4524
Unanswered
MarcelInTO
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Thanks for the question. Yes, that sounds like the expected behaviour. Git LFS locks are a separate concept and can be applied to any file in the repo, regardless of whether the file is tracked by Git LFS. You can get a list of all active locks with |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What should be the behavior of 'git lfs lock' if its called on a file not tracked by LFS?
In my experiments with the comand line, it allows me to lock a file that isn't tracked by LFS. It subsequently shows that lock when I do a 'git lfs locks'. However, if I do a 'git lfs ls-files' it does not show that file as being tracked. Is that right?
git-lfs/2.13.3 (GitHub; windows amd64; go 1.16.2; git a5e6585)
Beta Was this translation helpful? Give feedback.
All reactions