Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when using Git LFS #115

Open
lumpysimon opened this issue Dec 6, 2024 · 0 comments
Open

Error when using Git LFS #115

lumpysimon opened this issue Dec 6, 2024 · 0 comments

Comments

@lumpysimon
Copy link

I've got the plugin installed and set up and all working nicely. I have set up Git LFS on my laptop (installed using Homebrew) and have the .gitattributes file in place. Everything works well when I push my content folder to the remote origin repo (on GitHub) from the command line (or using the Tower app).

However, If I use the push button on the Git Content panel screen, I get the following error (in a modal):

This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting the 'pre-push' file in the hooks directory (set by 'core.hookspath'; usually '.git/hooks'). error: failed to push some refs to 'github.com:myusername/myreponame.git'

The push fails and I have to use the command line to push instead.

I also have Git LFS on my production site (running on Ubuntu 24.04) and pushing from the panel works fine there, so it seems specific to my local site. Could it be something to do with LFS being installed with Homebrew?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant