Help me debug LFS issues

Sitename: candid-malasada-094a38

Issue:
I’ve just gone through the setup steps for git LFS to use large media. Everything went fine and installed OK. When I now got to try issue the command git commit -m origin main I get asked for my credentials, which I never used to.

I think it could be linked to the credentials manager. I looked at a guide on debugging it but the commands to run are for mac os and linux: [Support Guide] Troubleshooting your Netlify Large Media Configuration

Can anyone help me debug this as a Windows user and find out what’s going on?

" You can tell if Git is configured to use the helper by checking with the command git config -l. For example, here is me testing it below:"

$ git config -l | grep netlify

The result of netlify lm:info is:

√ Checking Git version [2.39.2.windows.1]
√ Checking Git LFS version [3.3.0]
√ Checking Git LFS filters
√ Checking Netlify's Git Credentials version [0.1.11]

So I’ve got a little further… On windows I can run git config -l | findstr "netlify" which outputs: include.path=C:/Users/rhomb/AppData/Roaming/netlify/Config/helper/git-config credential.helper=netlify

I read somewhere that it could be something missing from my PATH - I doubled checked $env:path has set the netlify config correctly. In the output (this is just a selection of the netlify outputs) - I can see:

C:\Users\rhomb\AppData\Roaming\netlify\Config\config.json;
C:\Users\rhomb\AppData\Roaming\netlify\Config\helper\bin;
C:\Users\rhomb\.netlify\helper\bin

UPDATE:

I managed to fix this issue after reading about someone on mac OS who did something similar. I went into my git-config which is located at: C:\Users\username\AppData\Roaming\netlify\Config\helper and updated it from:

# The first line resets the list of helpers so we can check Netlify's first.
[credential]
  helper = ""

[credential]
  helper = netlify

To this:

# The first line resets the list of helpers so we can check Netlify's first.
[credential]
  helper = ""

[credential]
  helper = netlify
  helper = manager

I can now push to the repo without issues.

thank you for sharing your solution! This is definitely helpful for other users :+1: