简体   繁体   中英

Removing git-lfs

How do you do a full remove/unistall of git-lfs please? I did git lfs uninstall which returned the following two lines:

Hooks for this repository have been removed
Global Git LFS configuration has been removed

but the lfs folder is still under .git and when I do git status files come and go in that folder ( .git/lfs/tmp ). It looks to me that git-lfs has not probably been removed. The executable has also been uninstalled from the uninstall or change a program window under control panel in my windows10 machine.

As mentioned in git-lfs/git-lfs issue 959 , you can delete that folder now.

Before un-installing lfs, a git lfs prune would have help keep that content to a reasonnable size. But now, the folder is no longer needed.


As RYO ENG Lian Hu points out in the comments , ans explained in " not able to push file more than 100mb to GitHub "

You will not be allowed to push files larger than 100MB.
For more details check this link: GIT - working with large files

You can split up your zip file into 2 files of sizes less than 100MB and push the same.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM