I am using Windows Git GUI.When I tried to fetch the origin, it displayed a success message to me.
However when I tried to push something to origin, this error message displayed:
Pushing to git@<local IP>:/home/git/.git/
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
.git/hooks/pre-push.
error: failed to push some refs to 'git@<local IP>:/home/git/.git/'
Error: Command Failed"
I cannot locate .git/hooks/pre-push and delete it.
How can I fix this issue?
I did delete .git/hooks/pre-push.sample in my local repository and it worked.
I also delete the same file from the remote repository
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With