Netlify LFS asking for credentials on push

Hi,

I have used Netlify LFS on the same website before. But I changed the file paths the LFS would be tracking. The .gitattributes has updated correctly, but now that I try to push the commit I have to provide credentials for the Netlify Git repository.
I cannot remember I had to do this previously and I am also correctly signed in into the netlify-cli using netlify login.

Any help would be appreciated!

Kind regards,

Bram Hoven

I finally solved it…
I found in the ~/.git-credentials that the username for pushing is access-token.
I could also find the access token that I retrieved through logging in in the file: ~/.netlify/config.json.

Now that I have pushed once using these credentials it will be stored and I do not have to enter them again.

1 Like