I have a working copy of a repository that uses git-lfs to store some large files. I have git-lfs binary installed, but may not have run "git lfs install" inside of the working copy. When I want to update my local working copy after additions of lfs files, I execute these commands:
git pull
git lfs pull
That worked fine as long as lfs files were being added. Then the repository had some lfs files that were modified and when I ran git pull
I got the error message:
Your local changes to the following files would be overwritten by merge
....
....
And it listed out all of the lfs files that were going to be modified by the pull.
Since then, I ran git lfs install
inside the working copy and it worked fine, but git status
still lists all those files as being modified and a git pull
gives me the same error.
My question is basically, what are the right steps for updating my working copy if I'm using lfs? How do I clean up this sticky situation?