desktop: Error in newest beta build: The filter.lfs.clean attribute should be "git-lfs clean -- %f"

Description

My Github desktop beta just updated to the latest release, and I’m now getting this error on launch:

The filter.lfs.clean attribute should be “git-lfs clean – %f” but is “git lfs clean %f” Run git lfs install --force to reset git config.

Version

GitHub Desktop version: 0.8.1

OS version: macOS 10.13 Beta (17A360a)

I also use homebrew and have git 2.14.1 installed via brew.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 18 (9 by maintainers)

Most upvoted comments

Yeah, so I think we wanna detect this case and ask the user if we should use --force or leave it alone.

@mayel you can remove it - Desktop should install itself again on next launch and make that error go away

I have the following in my ~/.gitconfig but not sure where it came from. Should I just remove it?

[filter "lfs"]
        clean = git lfs clean %f
        smudge = git lfs smudge %f
        required = true
        process = git-lfs filter-process