You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We haven't built an uninstaller into Git LFS yet. Assuming you installed it by downloading a zip from the Releases section, you should be able to simply delete the git-lfs binary. The linux installer either throws it in:
/usr/local/bin/git-lfs
$PREFIX/bin/git-lfs
$BOXEN_HOME/bin/git-lfs
%LOCALAPPDATA%\GitLFS\bin (Windows only)
You can run which git-lfs to see where the installer put it.
Once that's done, you can also remove the global git configs that Git LFS sets up. However, leaving them on the system won't affect anything, unless you happen to install another "git lfs" tool.
Reacted by Gustavo Henke, Pierre Le Bourhis, Jesse Vander Does, Nathan Kleyn, Igor Bogomolov, Ryan Grove, Alf Eaton, Ru Chern Chong, Marcus Ilgner, Serhii and 6 more
In addition to the suggestion above, I have removed every folder named lfs under .git of a few other local repositories that I can find on my system. I still get the following message
git: 'lfs' is not a git command. See 'git --help'.
Did you mean this?
log
error: failed to push some refs to '[email protected]:.............'
Just in case somebody is looking for help here to remove git lfs from a repository: After deleting git-lfs binary, the following error message told me to remove a hook. I assume I could have kept the binary and the global config if I just removed the hook from the repo in question:
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 'https://github.com/...'
Reacted by Bill Burcham, sahil, twilligon, Jamie Taylor, Oliver Reißig and Zhiwei Li
Except on Windows, we don't provide an installer. If you want to uninstall Git LFS on a Linux or macOS system, you can either uninstall the package using the package manager or just delete the binary, depending on how you installed it.
Activity
technoweenie commentedon May 20, 2015
We haven't built an uninstaller into Git LFS yet. Assuming you installed it by downloading a zip from the Releases section, you should be able to simply delete the
git-lfsbinary. The linux installer either throws it in:/usr/local/bin/git-lfs$PREFIX/bin/git-lfs$BOXEN_HOME/bin/git-lfs%LOCALAPPDATA%\GitLFS\bin(Windows only)You can run
which git-lfsto see where the installer put it.Once that's done, you can also remove the global git configs that Git LFS sets up. However, leaving them on the system won't affect anything, unless you happen to install another "git lfs" tool.
technoweenie commentedon May 20, 2015
Let me know if you need more help.
shadowwalkersb commentedon May 30, 2015
In addition to the suggestion above, I have removed every folder named lfs under .git of a few other local repositories that I can find on my system. I still get the following message
shadowwalkersb commentedon May 30, 2015
Is this related to #333 and #334 ?
I reinstalled git-lfs and I can push now.
ynroot commentedon Jun 24, 2015
i just put git-lfs the 777 permission, opensuse(usr/local/bin) and it work for me!
hayesmaker commentedon Jan 14, 2016
please make an uninstaller.. there's no way currently to update (or at least make updates easier)
nuest commentedon Feb 23, 2016
Just in case somebody is looking for help here to remove git lfs from a repository: After deleting git-lfs binary, the following error message told me to remove a hook. I assume I could have kept the binary and the global config if I just removed the hook from the repo in question:
kaspar-allenbach commentedon Jul 23, 2019
How about that uninstaller?
bk2204 commentedon Jul 23, 2019
Except on Windows, we don't provide an installer. If you want to uninstall Git LFS on a Linux or macOS system, you can either uninstall the package using the package manager or just delete the binary, depending on how you installed it.