-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LFS files aren't reported in git lfs ls-files command #5119
Comments
Hey, Thanks for the report. My guess is that we don't handle the root commit correctly here, which is why this occurs. I'll mark it as a bug and see if we can fix it. |
Hey @bk2204 , Thank you for responding. I have done a further investigation that might help. I have tried to create a txt file through a git bash to see if it will be also reported as LFS file or not. I have done the following steps:
Do u think there is any workaround I can do for now to avoid that problem without the need of creating files through git bash? |
Ah, I see what the issue is. If the file is empty, then it's not reported. I don't think this has anything to do with Git Bash because I can also reproduce it on Linux as well. |
Ah, Okay Thank u for that. Creating the file with content has fixed my problem.
|
Hey, Setting This is because you don't have to use |
I was applying GIT-LFS on a new repo and I am having a folder that contains bin files and I have done the following :
I am expecting 'git lfs ls-files' to output the txt files in the folder.
The text was updated successfully, but these errors were encountered: