As soon as I change a particular model file in my project (even adding one blank line to test), I’m unable to commit because Looker believes a different file (that never existed) was deleted.
When I look into the commit history there is nothing about this file existing or being deleted. Is there some gotcha I’m missing, or is this a straight-up bug?
1 Like
Hi there, I’ve encountered the same issue. Have you found a solution yet?
Something that I have seen work in the past is to have a colleague push your branch’s changes from their account.
I received this error message fatal: pathspec ‘Administration/Views/file.view.lkml’ did not match any files too. This fixed it for me, so hopefully might help others:
- save your uncommitted changes externally to the branch as you will be reverting uncommitted changes
- Create the file name in the correct path as the error message
- Revert uncommitted changes
- You can then delete that file and any references from it, or revert to prod and add your original changes back into your code and commit etc.
Also Hi Gavin :D! 
1 Like
Just posted the solution that worked for me if you still are having the issue