4

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.

Aenaon
  • 2,739
  • 3
  • 24
  • 50
  • 1
    when you run git lfs uninstall, it means your new files would not be tracked and pushed to remote lfs server. .git/lfs/tmp is a locall temporary folder to cache lfs files and you should do git lfs prune to clean it up, or just don't need to care about it at all if you don't care about your space. – Zhong Hu Oct 14 '18 at 06:58

1 Answers1

4

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.

VonC
  • 1,129,465
  • 480
  • 4,036
  • 4,755