1

I keep running into this issue where I rename a file that is being tracked under git lfs, and when I push up the change to my repo, the file is no longer being tracked by git lfs.

Does anyone know how to resolve this?

TMin
  • 2,280
  • 1
  • 25
  • 34

2 Answers2

1

Apparently git add --renormalize . resolves this issue.

TMin
  • 2,280
  • 1
  • 25
  • 34
0

I erased the line of the file from .gitattributes and then ran git lfs track <new_file_path>

Ophir Carmi
  • 2,701
  • 1
  • 23
  • 42